Hi,
You need to exclude via REGEXP. Regular expression. set –a | grep exclude Set it to: e.g., below: E.g., ^.*ignoreme1.*$|^.*ignoreme2.*$ Real life example: lftp> set mirror:exclude-regex "^.*item1.*$|^.*item2.*$” Then mirror as needed. “and despite these huge files are located in the local folder” Use the “-c” option to continue and it _should_ skip _existing_ files without needed to exclude anything. Justin. From: lftp-boun...@uniyar.ac.ru [mailto:lftp-boun...@uniyar.ac.ru] On Behalf Of Bacizone Sent: Thursday, October 27, 2011 10:20 AM To: lftp@uniyar.ac.ru Subject: [lftp] exlcude matching files? Hello, I am using latest 4.3.3 lftp in Cygwin, Win7-64 bit. I have a remote directory structure with huge files. I'd like to mirror it to my local folder. Majority of the files are already mirrored, however there are some huge files I'd skip mirroring as it would take 20-25 hours, and they are located on my local machine as well. So I copied them to the exact same location here on the local folder where they are on the matching remote folder. Then run lftp with the "mirror --only-newer --delete" options, and despite these huge files are located in the local folder, lftp starts to re-download them from the server: Removing old file `xxxx.zip' Transferring file `xxxx.zip' I want that lftp skip these matching files... I tried the "--exclude RX" exclude matching files options, but lftp wants to download them again... Please help.
_______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp