Many, Many Thanks for this Matt! Seems to be working great so far.
Just one question though. My initial tests with --backup-dir and -b had just the file being backed up to the specified dir. With --source-backup the tree structure of the original source file is also being included in the --backup-dir directory. example: rsync --remove-source-files --source-backup --backup-dir=/arc -av /home/dir/file remotehost:/dir/file results in the backup file being put in /arc/home/dir/file instead of /arc/file. It isn't a problem for me as my tree structure is limited to just a couple of directories, but could be a problem for those with a deeper one. Or am I not specifying something correctly? Again, many thanks for this. -Scott > -------- Original Message -------- > Subject: Re: Using --remove-source-files with backup? > From: "Matt McCutchen" <[EMAIL PROTECTED]> > Date: Sun, May 06, 2007 6:38 am > To: ScottZ <[EMAIL PROTECTED]> > Cc: rsync@lists.samba.org > > On 5/6/07, Matt McCutchen <[EMAIL PROTECTED]> wrote: > > The attached patch to rsync 2.6.9 adds a --source-backup > > option that backs up removed source files. > > Oops, I made a typo in the addition to the man page. The fixed patch > is attached. > > Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html