on remote machine: --remove-source-files: unknown option

Matt McCutchen matt at mattmccutchen.net
Thu Apr 22 15:24:47 MDT 2010


On Thu, 2010-04-22 at 12:53 -0400, N. Yaakov Ziskind wrote:
> I'm trying to sync from 3.0.5 to 2.5.5 (SCO, *sigh*) The source
> machine errors out b/c the --remove-source-files (or
> --remove-sent-files) options don't exist on 2.5.5. 
> 
> But, since these option are only acted on by the sending machine (which 
> is where I'm typing the command line), it would be so nice if the source 
> machine would NOT pass the option on to the receiver (or at least, not 
> barf when it doesn't work). Any way to do this?

No, actually --remove-source-files is passed on to the receiver in order
to get a confirmation when the receiver finishes with a file, so that
the sender can delete the source file.  Just hacking the code not to
pass the option to the receiver would not work.

-- 
Matt



More information about the rsync mailing list