rsync -avz -e ssh src/ user@host:dst/

Category: SSH & Remote

rsync -avz -e ssh src/ user@host:dst/

Sync files to remote host over SSH with compression

Syncs files to a remote server over SSH with compression (-z). Combines rsync's efficiency with SSH's security.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.