rsync basics 
 
rsync is an awesome utility to sync files/directories between your linux machines.  If you wnat to sync up two directorues and you just modifies the directory content on your LOCAL machine:
 
rsync -ave ssh /FullPathOnLocalToDirectory/ username@remote_ip:/FullPathToDirectoryOnRemote/
 
For example:
 
rsync -ave ssh /home/jake/Work/ jake@123.123.123.123:/home/jake/work/RH/
 
This will update remote folder RH with local folder Work .
 
 
 
When the source file is on the remote system, the syntax is largely the same:
 
rsync -ave ssh username@remote_ip:/FullPathToDirectoryOnRemote/ /FullPathOnLocalToDirectory/
 
For example:

rsync -ave ssh jake@123.123.123.123:/home/jake/work/RH/ /home/jake/Work/