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