Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'BBEdit remote files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
BBEdit remote files
Authored by: i5ao on Oct 21, '04 06:12:34PM

Awesome tip!

But it opens the file in an untitled window in BBEdit on the Mac side. With BBEdit 8's command line tool you can do one better. It accepts sftp urls, so I modified your shell script as follows:

# Usage file
ssh me@machostname bbedit sftp://me@`hostname`/`pwd`/$1

Save this file as executable on your remote Linux/BSD box as, say, somewhere in your $PATH.

Then, while logged in on that box, to edit a file there called "foo.c" do this:

% foo.c

On your Mac, BBEdit will open up the file on the remote machine. Edit and save in-place.

[ Reply to This | # ]