|
|
It's even better than that
Actually, it isn't just that you can get to your iTools disc from the Terminal: in fact the remote directory is mounted on your local filesystem in your /Volumes/ folder. Yes, this means that you can edit it with pico or vi or whatever, but it also means that you can edit it with *any* application you have available, because as far as the system is concerned, it's just another point on the locally accessible filesystem.
If you want to use, say, BBEdit, then try "open -a /Applications/BBEdit.app /Volumes/yourname/Sites/index.html" and, if BBEdit is kept at /Applications/BBEdit.app, then your iTools home page will open up in everyone's favorite Mac editor, and any saves you make will be *automatically applied to the remote directory*. Very cool. Want to back your iTools site up to your desktop? No problem: "tar -zcvf ~/Desktop/iTools_site.tgz /Volumes/yourname/Sites". Want to upload files from, say, your PC to your iTools site? FTP to your Mac, change to the /Volumes/yourname/Sites directory (which you will need to have mounted already), and then begin the transfer. No need to move files to the Mac first, since it can just act as a bridge to the remote storage. This is network transparency, where it doesn't matter if a resource is installed locally or accessible remotely, because the system just Figures It Out. This is a very powerful feature, and makes a lot of things easy that would otherwise be tedious, difficult, or even impossible. Using this functionality is a very, very good habit... :)
use
babbage says use "BBEdit" |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.30 seconds |
|