[TxMt] Edit remote file via SSH
klingeling at gmail.com
Tue Jan 10 10:42:05 UTC 2006
On 10/01/06, Simon Dorfman <emaillists at 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:
> 1. 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
> 2. open the the local tmp file with 'mate -w'
Should be possible with a folderaction. For someone that knows
applescript, that is.
> 3. 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
> 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 :-(
More information about the textmate