X-Recipient: archive-cygwin@delorie.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.bolin@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Latest cygwin and rsync
Cc: daveroth@acm.org
In-Reply-To: <473A3E5B.3060300@acm.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <787dcac20711130649p69a09996i4d7e15c840c60e25@mail.gmail.com> 	 <473A3E5B.3060300@acm.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Nov 13, 2007 6:16 PM, David Rothenberger <daveroth@acm.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@192.168.0.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@acm.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/

