On 10/01/06, Simon Dorfman emaillists@simondorfman.com wrote:
On my webserver, I'll edit my .bash_profile to include and alias for 'mate' to a shell script. The shell script will do the following:
- secure copy the argument file to my local tmp folder
Watch out, if you want to edit foo/index.html and bar/index.html simultaniously
- open the the local tmp file with 'mate -w'
Should be possible with a folderaction. For someone that knows applescript, that is.
- once I finish editing the file in TextMate and close it, secure copy the
new file to replace the file on the webserver
No folderaction for this, so the textmate save routine would need to trigger that.
Any other ideas for accomplishing the same goal (edit remote files with TextMate) are also welcome.
Try Webdav, if possible. For my situation, it is not :-(
Bye, Martin