Hi Dan.
Think about /public_html/lftptest (local/lftptest) as a base and write
-x relative to that base:
mirror -v --only-newer -x "^dir1/" /public_html/lftptest local/lftptest
I use exclude this way.
--
.: Vlado :.
--
Problem reports: http://cygwin.com/problems.html
FAQ:
> Sorry, no. This seems unlikely to be a Cygwin-specific problem, so I think
> you're most likely to find the answer on the lftp mailing list. Alexander
> Lukyanov, the developer of lftp, often answers questions there. Andrew
See http://lftp.yar.ru/list.html, or gmane.network.lftp.user on gmane
> Im running lftp (4.4.4) under cygwin on my Windows 8 machine. Ive created
> an lftptest directory on my server with two subdirs, dir1 and dir2, with a
> file in each. No matter what I try, I can't exclude "dir1" with an lftp
> script that contains this exclude I get the directory and all of
Im running lftp (4.4.4) under cygwin on my Windows 8 machine. Ive created
an lftptest directory on my server with two subdirs, dir1 and dir2, with a
file in each. No matter what I try, I can't exclude "dir1" with an lftp
script that contains this exclude I get the directory and all of the
subd
4 matches
Mail list logo