← Back to Toolbox
rsync can be installed on macOS with Homebrew:
brew install rsync.
Recipes for syncing things
rsync requires SSH access to the remote host. When that's not available, I use
rclone instead over a different protocol (e.g. SFTP).
Sync a website to a remote host
myremotehost SSH host is defined in the
💡 Pro tip: Before performing a potentially destructive and/or irreversible operation, it is advisable to first test it with the
--dry-runoption, which prints out what would happen when the command is run without the flag.
--filter="P dont-delete/" \