Post by J1 SimónPost by J1 Simónset mirror:exclude-regex
\"^.+\.part$|^.+\.url$|^.+\.__JPG$|^.+\.jpg$|^.+\.jpeg$|^.+\__.JPEG$|^.+\.png$|^.+\.PNG$|^.+__\.txt$|^.+\.TXT$|^.+\.nfo$|^.+__\.NFO$\"
But when I download something lftp downloads jpg, txt, etc...
lftp 4.4.0 compiled on Ubuntu 12.10 64 bits
Hi,
set mirror:exclude-regex "regex1\|regex2"
I don't think so.
set mirror:exclude-regex "^.+\.part$|^.+\.url$";
alias exclude-regex "set mirror:exclude-regex
\"^.+\.part$|^.+\.url$\"";
alias bd "cd /torrent-descargas/BD; lcd /dunehd/Descargando;
exclude-regex;";
alias dvd "cd /torrent-descargas/DVD; lcd /dunehd/Descargando;
exclude-regex;";
alias mkv "cd /torrent-descargas/mkv; lcd /dunehd/Descargando;
exclude-regex;";
alias test "cd /torrent-descargas/test; lcd /dunehd/test; set
mirror:exclude-regex
\"^.+\.part$|^.+\.url$|^.+\.JPG$|^.+\.jpg$|^.+\.jpeg$|^.+\.JPEG$|^.+\.png$|^.+\.PNG$|^.+\.txt$|^.+\.TXT$|^.+\.nfo$|^.+\.NFO$\"";
I do a mirror of a test folder with sample files: prueba.JPG
prueba.avi prueba.jpg prueba.nfo prueba.part prueba.txt prueba.url
It works correctly. It downloads all but prueba.part and prueba.url
I do a mirror using the "test" alias and it works correctly too.
It downloads only prueba.avi
I think the problem is when I use several queue downloading
several folders with different alias. I have to do more tests.
Hi,
^.*\.jpg$
^.*\.[jJ][pP][gG]$ to match either case type at the end of any path
and not just current directory? I've always used them (similar to
this) this and have not had any issues.
I'll test it but the unique difference is the "*". I think is more
correct my regexp because the files always will be "name.ext". With
your regexp the name is optional.
than my way.
Thanks.
Post by J1 SimónPlease let me know what you find.
Justin.