delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/13/19:34:51

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <787dcac20711131634t6046381bv63b979788ddf576@mail.gmail.com>
Date: Tue, 13 Nov 2007 18:34:30 -0600
From: BB <brent DOT bolin AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Latest cygwin and rsync
Cc: daveroth AT acm DOT org
In-Reply-To: <473A3E5B.3060300@acm.org>
MIME-Version: 1.0
References: <787dcac20711130649p69a09996i4d7e15c840c60e25 AT mail DOT gmail DOT com> <473A3E5B DOT 3060300 AT acm DOT org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Nov 13, 2007 6:16 PM, David Rothenberger <daveroth AT acm DOT org> wrote:
> On 11/13/2007 6:49 AM, BB wrote:
> > Option for rsync --remove-source-files does not work.
> >
> > Complains --remove-source-files unknown
> >
> > rsync -avz --remove-source-files root AT 192 DOT 168 DOT 0 DOT 2:/tmp/foo .
> >
> > Anybody have ideas?
>
> The version of rsync on Cygwin understands --remove-source-files, but
> the version on the remote system does not. Both copies of rsync need to
> be recent enough to include the switch.
>
> --
> David Rothenberger  ----  daveroth AT acm DOT org
>
> "Time is an illusion.  Lunchtime doubly so."
>                  -- Ford Prefect, _Hitchhiker's Guide to the Galaxy_
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>

Thanks for your reply.  I just figured what was going on.  Was using
rsync to Mac osx.  The rsync version downloaded from fink does have
the option for --remove-source-files.  The native version of rsync
that comes with Mac osx (Darwin 8.10.0) does not.  The native version
is in the PATH.

The rsync script that I'm trying to configure will be connecting to a
BSD box, pulling down old mail archive files and then removing them
from the source systems.

All is good.

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

- Raw text -


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