Problems with lftp exclude

Dan Morton dan@59plymouth.net
Sat Sep 6 19:22:00 GMT 2014


I’m running lftp (4.4.4) under cygwin on my Windows 8 machine. I’ve 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
subdir content:

mirror -v --only-newer -x /public_html/lftptest/dir1/
/public_html/lftptest   local/lftptest

I tried
-x public_html/lftptest/dir1/
and
-x /home/public_html/lftptest/dir1/
And
-x lftptest/dir1/

to no avail. (Oh, and –exclude in place of –x.)

Any ideas?

	Thanks
	Dan



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list