Make sure you have rsync installed on both servers and then you can use it with ssh to sync remote directories in one line:
cd /webroot/www
rsync -avz -e ssh syncboy@FROMHOST:/webroot/www/vmhacks.com .
enjoy.
Mm.,
Make sure you have rsync installed on both servers and then you can use it with ssh to sync remote directories in one line:
cd /webroot/www
rsync -avz -e ssh syncboy@FROMHOST:/webroot/www/vmhacks.com .
enjoy.
Mm.,