rsync

Synchronizing files between between folders or machines.

Sync all files in a directory to another directory on the same machine

rsync -avzh /root/rpmpkgs /tmp/backups/

Sync all files in a directory to another machine

rsync -avz rpmpkgs/ root@192.168.0.101:/home/

Copy/Sync a Remote Directory to a Local Machine

rsync -avzh root@192.168.0.3:/home/tarunika/rpmpkgs /tmp/myrpms

Copy a File from a Remote Server to a Local Server with SSH

rsync -avzhe ssh root@192.168.0.3:/root/install.log /tmp/

Copy a File from a Local Server to a Remote Server with SSH

rsync -avzhe ssh backup.tar root@192.168.0.3:/backups/