[TxMt] Best way to edit remote folders?

Andy Armstrong andy at hexten.net
Fri Jan 27 21:07:20 UTC 2006

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.

$ rsync -avz -e ssh /Users/me/project/* user at server.example.com:/home/ 


$ rsync -avz -e ssh user at server.example.com:/home/www/* /Users/me/ 

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

More information about the textmate mailing list