Thursday, June 21, 2007

Rsync command with ssh

Rysnc is setup as Source / destination. So if you want to move a file/folder from the machine you are on, you can use the following command:
rsync -avzr /source/of/local/path -e ssh user@remote:/path/of/remote/destination/

No comments: