Using --remove-source-files with backup?

Matt McCutchen hashproduct+rsync at gmail.com
Sat May 5 01:22:00 GMT 2007


On 5/4/07, ScottZ <mylists at pinesalad.net> wrote:
> Is this a bug or is the backup option only able to backup deleted target files?

The latter: --backup only backs up files deleted from the target.

> Is there another way around this?

Essentially you want to move each source file to another directory
after it is successfully transferred.  I'm sure there's a way to
accomplish this, but it might not be simple.  I'll tell you if I find
one.

Matt


More information about the rsync mailing list