Sunday, September 20, 2009

Using Rsync to synchronize folders between machines


# The below will sync my Music folder on both my laptop and desktop
rsync --verbose --progress --stats --compress --rsh=/usr/bin/ssh \
--recursive --times --perms --links --delete \
--exclude "*bak" --exclude "*~" \
../Music/* jasonong-desktop:~/Music/


Ref: http://everythinglinux.org/rsync/

No comments:

Blog Archive