Context: my rsync backup strategy usually involves deleting files in the destination directory that do not exist in the source directory, but automatically copying these files to a rsync-backup directory before deleting them. I would like an automatic way to remove files that appear in this directory and not in any others (on the destination) while leaving unique files intact; this way, after moving files, the backup-backups created can be safely removed.
Context: my rsync backup strategy usually involves deleting files in the destination directory that do not exist in the source directory, but automatically copying these files to a
rsync-backup
directory before deleting them. I would like an automatic way to remove files that appear in this directory and not in any others (on the destination) while leaving unique files intact; this way, after moving files, the backup-backups created can be safely removed.