rsync has very good exclusion support, which can come in handy for files that you really don’t care about sending to another host. For example, lets say you wanted to create the /tmp directory on a remote node, but you didn’t want to copy any of the files over. You just wanted the directory to be there.
+ /tmp
- **/tmp/**
Put that into a file called, oh lets see /etc/rsync.exclude, and then call rsync with
rsync -auv –delete –exclude-from=/etc/rsync.exclude $SOURCE $DESTINATION
party on Garth.