A Blog about technology, linux, peer2peer, cool new downloads and software development.

Friday, August 7, 2009

rsync how-to tutorial

Update :
rsync -azCPvv src user:xxx.xxx.xxx.xxx:/tmp/
Note : no / after src (not src/)

Based upon :
http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html

Example :
rsync -vvrhzP -e ssh ./dir user@192.168.0.5:Downloads
^ NO trailing /
Will copy local files to remote machine & recreate ~/Downloads/dir on the remote machine

Example 2 : copy file/s with progress indicator instead of cp
rsync -vvrhP [src] [dest]

No comments: