On Nov 13, 2007 6:16 PM, David Rothenberger <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]:/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 ---- [EMAIL PROTECTED] > > "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/