This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Problems with lftp exclude
- From: "Dan Morton" <dan at 59plymouth dot net>
- To: <cygwin at cygwin dot com>
- Date: Sat, 6 Sep 2014 15:22:18 -0400
- Subject: Problems with lftp exclude
- Authentication-results: sourceware.org; auth=none
- References: <CF3689FBAD8CF345A0EC266998A1DE2562DDA7 at UPHMASPHI026 dot UPHS dot PENNHEALTH dot PRV>
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