--delete, what am I doing wrong?

Wayne Davison wayned at samba.org
Wed Apr 21 21:11:18 GMT 2004


On Wed, Apr 21, 2004 at 04:59:19PM -0400, Brian McEntire wrote:
> rsync -av -e ssh --one-file-system --numeric-ids --relative --delete
> --exclude-from=/backups/control/all.exclude 'root at A:/ /boot /dev/shm
> /sandbox ' /backups/A

You have a couple choices on how to make this work:

 - Upgrade to at least 2.6.0 -- it fixes this bug with the --relative
   and --delete options.

 - Append a '.' to any "/" source path (i.e. use root at A:/. ) -- that
   bypasses the bug.

..wayne..


More information about the rsync mailing list