This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Latest cygwin and rsync
This shows you using a "dry run" option.
You are not using a source machine:/dir/file target machine:dir
What happens when you actually transfer files and use the
--remove-source-files option?
On Nov 13, 2007 10:41 AM, Thorsten Kampe <thorsten@thorstenkampe.de> wrote:
> * BB (Tue, 13 Nov 2007 08:49:30 -0600)
>
> > Have downloaded the latest version of cygwin. Also the latest version of rsync.
> >
> > 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 .
> >
> > I need to be able to remove files from the source target after files
> > are transfered. Files are being transfered from a unix box to a
> > windows workstation.
>
> Works for me:
> % rsync -n --remove-source-files .
> building file list ...
> [...]
> sent 13829 bytes received 20 bytes 3077.56 bytes/sec
> total size is 52259964 speedup is 3773.56
> % rsync --version
> rsync version 2.6.9 protocol version 29
> [...]
>
>
> --
> 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/
>
>
--
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/