#!/bin/bash #=============================================================================== # # FILE: sync.sh # # USAGE: ./sync.sh # # DESCRIPTION: Syncs local files with the webserver # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTES: --- # AUTHOR: John Ryland (jryland@xiaofrog.com) # COMPANY: InvertedLogic # VERSION: 1.0 # CREATED: 12/26/07 14:05:38 CST # REVISION: --- #=============================================================================== ### rsync -avz ~/Sites/ kratos.dreamhost.com:~/sync/ # Deprecated using rsync for this... using SVN instead which has version control... it's a better way #rsync -avz ~/Sites/xiaofrog.com/ xiaofrog.com:~/xiaofrog.com/