RSync example using ssh, paths with spaces and dry run / test mode
In order to provide a quick reference for myself, here are some quick copy-and-paste rsync commands for transferring files from a remote server to my local machine.
A test or "dry-run" script:rsync --verboseĀ --progress --stats --compress --dry-run --rsh="ssh -p 444" --recursive --times --perms --links --delete username@remote.server.com:'"/path/to/remote/folder/with spaces"' ~/path/to/download/folder/with\ spaces/ In order to actually run the script remove --dry-run from the parameters.


