Command
rsync
Explanation
rsync is used to synchronize files and directories efficiently between locations. It only transfers differences, making it fast for backups and mirroring.
Examples
Sync directories with archive mode
rsync -av source/ destination/
Sync and delete extra files in destination
rsync -av --delete source/ destination/
Sync from remote host
rsync -av user@host:/path/ /local/path/