Basics
Sync source/dir
into dest/dir
rsync -av source/dir dest/dir
Display progress during sync and use ZIP for compression
rsync -avzP source/dir dest/dir
Sync remote directory
Sync directory from the server, use SSH key authentication
rsync -Pav -e "ssh -i path/to/ssh/key" user@server:src dest