Jun 08, '01 12:01:21AM • Contributed by: Anonymous
[Editor's note: You can also use the "Go -> Go to Folder" menu item and type the path to the folder to open a sub-folder; this doesn't seem to work (thanks sjonke!) for top-level folders.]
|
|
|
Accessing UNIX folders in the GUI via the Terminal
Jun 08, '01 12:01:21AM • Contributed by: Anonymous
While looking for an easy way to access root UNIX directories in Finder, I have found following: Typing 'open /usr' in the terminal will open Finder window with the appropriate unix directory (in column view as a folder 'Private'). Also, typing 'open /private' will open a window with the root directories 'cores', 'Drivers', 'etc', 'tmp' and 'var'.
[Editor's note: You can also use the "Go -> Go to Folder" menu item and type the path to the folder to open a sub-folder; this doesn't seem to work (thanks sjonke!) for top-level folders.]
•
[6,923 views]
Hint Options
Regarding the editors note
I have never been able to open a hidden folder via the Go To Folder menu in the Finder. I can only do this by using the command-line "open" command. Note, that you can open a SUBfolder of a hidden folder (as long as it is not hidden itself) with the Go To Folder menu. So, for example using Go To Folder in order to open the /usr folder in the Finder does not work. However, you can do this from the command-line via "open /usr"
/private folders in finder toolbar
After you have used the open /private command in the terminal you can drag and drop the folders to the finder toolbar which will allow you to open the folders from the finder with out having to use the open command in the terminal window.
Regarding the editors note
Ha!
Regarding the editors note
So what you're trying to say is that you have never been able to open a hidden folder
More uses for the open command
You can use the open command to simulate double-clicking any file, folder or bundle in the finder. For example, executing the command 'open /Applications/Mail.app' will launch Apple's Mail application and 'open ~/Documents/letter.rtf' would open a files called letter.rtf in your home directory (assuming such a file exists, of course). You can also specify multiple objects to open. For example 'open ~/Documents ~/Pictures' would open both your Documents and Pictures folders (in separate windows). |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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.12 seconds |
|