--delete

Franck Yelles franck110 at gmail.com
Fri Oct 3 01:28:11 GMT 2008




On 2-Oct-08, at 21:01, Matt McCutchen <matt at mattmccutchen.net> wrote:

> 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
>
Thanks matt.
Will it create the same directory tree (structure) ?


More information about the rsync mailing list