--rsync-set-flags and --rsync-append-flags for "--dry-run" is not working
jesusguevarautomotriz opened this issue · 2 comments
jesusguevarautomotriz commented
basnijholt commented
Thanks for reporting!
I see a couple of problems with the command.
You probably want to use --rsync-append-flags
instead of --rsync-set-flags
because you will be overwriting the following:
❯ ./rsync_time_machine.py ~/dotfiles /Volumes/4TB/dotfiles --rsync-set-flags="--dry-run" --rsync-get-flags
rsync-time-machine.py: Rsync flags:
--dry-run
vs
❯ ./rsync_time_machine.py ~/dotfiles /Volumes/4TB/dotfiles --rsync-append-flags="--dry-run" --rsync-get-flags
rsync-time-machine.py: Rsync flags:
-D --numeric-ids --links --hard-links --one-file-system --itemize-changes --times --recursive --perms --owner --group --stats --human-readable --dry-run
Then you need an equals sign in your command:
--rsync-append-flags="--dry-run"
jesusguevarautomotriz commented
It is my mistake. Thank you very much for the explanation, I will try the script again.