Rsync Over SSH

By | 2010/12/15

Here is a quick and easy way for transferring files via rsync over ssh.

rsync [options] ssh [local source directory] [user@server]:[destination on server]


# rsync -avPz /home/bob/workstuff bob@

a (recursive, hidden files incl, etc. – the standard rsync option)
v verbose
P show Progress

z compress data during transfer

This will make a copy of the directory ‘workstuff’ onto the machine in bob’s home directory there.


Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.