carl moonan | the dude abides

Howto rsync folders

The command below will rsync the wordpress folder with carlmoonan.com

rsync -a -u wordpress/ carlmoonan.com/ -n

The trailing -n will make i do a dry run. To do this to a remote machine you can use the following command:

rsync cmoonan@217.155.133.176:'/Users/cmoonan/Documents/svnroot/trunk/java/' ~/Documents/svnroot/trunk/java/ --progress --recursive -n --exclude-from '/Users/carl/Documents/rsync-exclude.txt' --stats -e 'ssh -p 22' -v

No Comments, Comment or Ping

Reply to “Howto rsync folders”