On Thu, 2008-10-02 at 21:28 -0400, Franck Yelles wrote:
> On 2-Oct-08, at 21:01, Matt McCutchen <[EMAIL PROTECTED]> 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
> 
> Thanks matt.
> Will it create the same directory tree (structure) ?

Yes.  Rsync will move each deleted or overwritten destination file to
the same path under the backup dir as it was at under the destination,
creating ancestor directories as necessary.

Matt

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to