formats

Rsync Over SSH




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]


Example:

# rsync -avPz /home/bob/workstuff bob@192.168.1.125:~/

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 192.168.1.125 in bob’s home directory there.

Cool!

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

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

Home linux Rsync Over SSH