- -a = all or recursive (sync all files in the directory).
- -z = Reduce network transfer by adding compressing option.
- -P = Combines the flags --progress & --partial (--progress gives you a progress bar, --partial allows you to resume partially/interupted transfers).
rsync -azP /mnt/local-directory/ username@1.1.1.1:/mnt/remote-directory