Skip to content

The rsync command in Linux – copying, syncing and moving files to another server

The rsync command in Linux. How to copy and sync folders on a server and between servers over SSH, why the slash at the end of a path matters, how to exclude files, use --delete safely and move a site to a new VPS. Tested on Debian 12 and rsync 3.2.7.