Comment on Backing up easily
CouncilOfFriends@slrpnk.net 2 days ago
Some of the useful options which can be referenced in the rsync manual. If you run with the ‘n’ option first it will dry run then you can remove the n to do the needful
rsync -navhP --no-compress --ignore-existing --mkpath source dest
-n dry-run, no changes are made -a is for archive, which recursively preserves ownership, permissions etc. -v is for verbose, so I can see what’s happening (optional) -h is for human-readable, so the transfer rate and file sizes are easier to read (optional) -P show progress –no-compress as there’s no lack of bandwidth between local devices
–ignore-existing will skip updating files that exist on receiver -r is recursive, included in -a –mkpath will create the destination’s path component