--delete

Matt McCutchen matt at mattmccutchen.net
Fri Oct 3 01:01:37 GMT 2008


On Thu, 2008-10-02 at 20:59 -0400, Franck Y wrote:
> Is there anyway to move the deleted files/folder to another place ? 
> I have googled a little bit but nothing comes out.

It's the --backup-dir option.  If you want to treat deleted files
differently from overwritten ones, use this patch:

http://rsync.samba.org/ftp/rsync/patches/backup-dir-dels.diff

Matt



More information about the rsync mailing list