delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/06/15:22:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=oJwpLM33rTHrdnnfSDEwhbbJEhfrNwFKTxRO1cvCoC0
FNpcFBlZI0DJHIM8tt09rSPAepCVcb6eN2yn9OPrm8PqBpY8FKwGiZb1LZTiIe9h
taDG/aRlTvqbWO03gNkPO3AZVrVh3LqKWA0+MDS2Es5gDuS0wL3ifugHWhKUgzLA
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=1icauKNzhneZhzqAnE/hGG5rQEo=; b=QLzCMsJkNZfQjlWis
pWjcRMoWDcZ7bRbW1oJtrtiyxCNPmLz4E6kJsoEmqGHaH2ajBiCTO86Wtf1NkiwK
1O7WjjQKRosbmoNOYcfsy2FdCp/zlSWhkr3Y+enb6eXOyNewC4GNkXFolVU9NHFO
CQB4dh0Tu4aCgoaALSXU3mYsLg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2
X-HELO: ld114.inmotionhosting.com
From: "Dan Morton" <dan AT 59plymouth DOT net>
To: <cygwin AT cygwin DOT com>
References: <CF3689FBAD8CF345A0EC266998A1DE2562DDA7 AT UPHMASPHI026 DOT UPHS DOT PENNHEALTH DOT PRV>
In-Reply-To: <CF3689FBAD8CF345A0EC266998A1DE2562DDA7@UPHMASPHI026.UPHS.PENNHEALTH.PRV>
Subject: Problems with lftp exclude
Date: Sat, 6 Sep 2014 15:22:18 -0400
Message-ID: <000201cfca07$e01fb570$a05f2050$@59plymouth.net>
MIME-Version: 1.0
X-OutGoing-Spam-Status: No, score=-0.4
X-Get-Message-Sender-Via: ld114.inmotionhosting.com: acl_c_relayhosts_text_entry: dan AT 59plymouth DOT net|59plymouth.net
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s86JMbim004589

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019