01.10Using Rsync over SSH
Prerequisites
First make sure that you are able to login to the remote host using ssh key authentication.
Basic Syntax
To sync files from a local directory to a remote directory use the following syntax:
rsync {options} -e ssh {source} {dest}
Example
Here is an example that exclude all .psd and .fla files:
rsync --exclude *.psd \ --exclude *.fla \ -avz -e ssh /local/dir/ user@remotehost:/remote/dir/

Hi, very nice post. I have been wonder’n bout this issue,so thanks for posting
June 12th, 2009 at 11:14 am
Thanks Kelly, appreciate the feedback!
August 12th, 2009 at 10:24 am