I have a scenario where I am copying from a local system to remote target and need to remove the local source files once they have been successfully transfered.
--remove-source-files works fine for this. An issue has come up in that I need to be able to backup the removed local source files as well. With rsync 2.6.9 I tried: rsync --remove-source-files --backup-dir=/archive abv (source) (remotehost:target) The result was that the backup files were made in /archive on the remotehost system and not the local system (where the original files were removed). Is this a bug or is the backup option only able to backup deleted target files? Is there another way around this? Note: As a WAG, I tried using a myhost:/archive (where myhost is my source host) type of entry for --backup-dir, but that just created a myhost: directory on the remotehost:target directory. Like I said, it was a WAG. Thanks, -Scott -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html