Eu uso algo como rsync -a --delete ~/Sites/site/ [email protected]:public_html
para fazer upload do meu website.
-a, --archive archive mode; same as -rlptgoD (no -H)
--delete delete extraneous files from dest dirs
-r, --recursive recurse into directories
-l, --links copy symlinks as symlinks
-p, --perms preserve permissions
-t, --times preserve times
-g, --group preserve group
-o, --owner preserve owner (super-user only)
-D same as --devices --specials
--devices preserve device files (super-user only)
--specials preserve special files
Veja também rsync sobre o SSH com o cron no osx -ambiente .