On Wed, Jan 23, 2013 at 8:49 AM, J1 Simón <si...@j1s.es> wrote:

> I have defined the next setting in rc file:
>     set 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,

You need to escape the pipes in between regexes, e.g.:

set mirror:exclude-regex "regex1\|regex2"

Justin.
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to