Tricks for using rsync.


Super Simple Aliases

The usage of these is similar to cp and scp in that as long as only the source or only the destination is remote (at least one of the two needs to be local) it will work. This will also work if both are local. These commands invoke -P which tells rsync to print a per-file progress bar.

alias rscp="rsync -aP -no-whole-file -inplace"
alias rsmv="rscp --remove-source-files"

Bandwidth Limiting

Use the option "—bwlimit=X" where X is the number of Kbps (bytes).

Delete Extra files at Destination

Use the option "—delete" to remove any files at the destination that are not at the source location.

" "