You can also check out Unison, which is a bidirectional rsync.
http://www.cis.upenn.edu/~bcpierce/unison/
Or you could use a version control system like subversion or cvs.
-Brad
On Jan 27, 2006, at 1:07 PM, Andy Armstrong wrote:
On 27 Jan 2006, at 20:57, Dev Purkayastha wrote:
I guess you use it's Sychronize to make it all work out?
If you're cool with using the terminal you can set up a couple of scripts to rsync back and forth between the server and your machine. rsync is very efficient at doing incremental syncs so you can set it just to sync the whole directory tree and it'll work it all out.
Put: $ rsync -avz -e ssh /Users/me/project/* user@server.example.com:/ home/www
and
Get: $ rsync -avz -e ssh user@server.example.com:/home/www/* /Users/me/ project
If you register your public ssh key with the server you won't have to type a password. It's very easy in practice - just keep a terminal window open and fire off the Get script whenever you want to update your local files to reflect changes on the server and Put when you've made an edit you want to commit to the server.
-- Andy Armstrong, hexten.net