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


Click here to return to the 'Edit remote files using local copy of BBEdit via sftp' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Edit remote files using local copy of BBEdit via sftp
Authored by: bimtob on Aug 16, '05 08:54:59PM
Try:
alias rbbedit='ssh 192.168.2.1 bbedit "sftp://192.168.2.2/$PWD/!:1"'
The $PWD is replaced with the path to your current directory (i.e. /Users/xSmurf/).

Or you can leave it like you have it and use the full path to the file you want to edit.
Like so:
Fripouille:~ xSmurf$ rbbedit /Users/xSmurf/test.txt 


[ Reply to This | # ]
Edit remote files using local copy of BBEdit via sftp
Authored by: xSmurf on Aug 16, '05 10:01:19PM

Ho, for some reason I didn't think of the "pwd" command and had password in mind! So I placed it back... no go :/ Same error

---
PM G4 DP 800 / 1.25gb / 120Gb+80Gb / CD/DVD±RW/RAM/DL
- The only APP Smurf



[ Reply to This | # ]
Edit remote files using local copy of BBEdit via sftp
Authored by: xSmurf on Aug 16, '05 10:18:25PM

P.S. I did also try escaping the '!'... no go :/

---
PM G4 DP 800 / 1.25gb / 120Gb+80Gb / CD/DVD±RW/RAM/DL
- The only APP Smurf



[ Reply to This | # ]
Edit remote files using local copy of BBEdit via sftp
Authored by: bimtob on Aug 17, '05 11:29:42AM

Check lukemelia's comment. Looks like a bash thing.



[ Reply to This | # ]