View Full Version : Show the "UNIX" directories in the Finder?
dstranathan
12-10-2003, 07:28 PM
Is there a tool or utility or a command to show the "UNIX" directories in the Finder, but NOT show me the invisible "." (dot) files?
For example, I want to see the /etc directory, the /var directory, and the /bin directory all the time, but I don't want to see the ".DS_Store" files.
TinkerTool is nice for revealing the hidden BSD directories, but it also shows the dot files, which is annoying!
irfoton
12-10-2003, 09:22 PM
Couldn't you use the Go To Folder Command. Once there drag it to the sidebar or Favorites Folder.
irfoton
jginsbu
12-10-2003, 09:51 PM
Originally posted by dstranathan
Is there a tool or utility or a command to show the "UNIX" directories in the Finder, but NOT show me the invisible "." (dot) files?
This is EXACTLY what I've been looking for, but I haven't found any way to do it. Basically a GUI equivalent of the standard shell 'ls'. I'd love to be able to invoke 'ls -a' behavior (showing all the .files too) with a modifier key when opening the directory. I'd even like it if it took a modifier key to invoke showing hidden directories in general -- just a way to get it on demand, and give the user an option to turn the option off. I suspect that this is something that Apple would have to add to the finder directly -- I, for one, don't want to switch to Pathfinder or the like to get that feature.
Originally posted by dstranathan
Is there a tool or utility or a command to show the "UNIX" directories in the Finder, but NOT show me the invisible "." (dot) files?
For example, I want to see the /etc directory, the /var directory, and the /bin directory all the time, but I don't want to see the ".DS_Store" files.
TinkerTool is nice for revealing the hidden BSD directories, but it also shows the dot files, which is annoying!
Let me know when you find something.
In the mean time:
ln -s /bin /bin_
ln -s /sbin /sbin_
ln -s /usr /usr_
ln -s /etc /etc_
ln -s /var /var_
I haven't tried it, but I believe what you want to do is edit /.hidden. My understanding is that you can create a text file called .hidden in any folder and any files or directories whose names appear in this file will be hidden. If you look in / there is a file called .hidden and if you type "cat /.hidden" into the terminal you will find that it lists all those directories you want to see.
Originally posted by JBL
I haven't tried it, but I believe what you want to do is edit /.hidden. My understanding is that you can create a text file called .hidden in any folder and any files or directories whose names appear in this file will be hidden. If you look in / there is a file called .hidden and if you type "cat /.hidden" into the terminal you will find that it lists all those directories you want to see.
Indeed, works.
jginsbu
12-11-2003, 02:02 AM
Originally posted by 123
Indeed, works.
Uh... nope. All the directories don't show up in the Finder: no /usr, no /bin, etc. A few things do show up. And yes, I did relaunch the Finder in order to get it to reread .hidden.
My recollection is that you also have to remove the "invisible" attribute from the other directories in order to see them. This can be done with the 'SetFile' command-line utility in /Developer/Tools/.
What isn't on offer is a general way to enable this from the GUI, which is what I would really like.
dstranathan
12-25-2003, 04:12 PM
Figured it out...
Wanna show an invisible folder like /etc or /bin, but NOT show all of them? Maybe you only want to see certain hidden UNIX folders, but not see the .files such as .DS_Store?
Just edit the ./hidden file!
Wanna hide a file or folder? Add the "." dot to the name (i.e.; ".filename), or place the file/folder at the root of the drive and add it to the list in the /.hidden file.
Aquatic
12-25-2003, 04:56 PM
There must be a hack that allows the Finder to just see .hidden files though right?
Barto
12-25-2003, 06:55 PM
Originally posted by Aquatic
There must be a hack that allows the Finder to just see .hidden files though right?
It's all or nothing. You can either download TinkerTool (http://www.macupdate.com/info.php/id/5721) and see ALL the files and folders on your computer, or see the scant number of files and folders that Apple sets as default.
Barto
mcsjgs
12-25-2003, 09:15 PM
A bassackward way to do kind of what you want is to turn on invisible function in Finder search and click on the folder that shows up in the search. It will show all the hidden files in the folder. Obviously you have to know a filename in that folder or in the path for it to work.
Sopphode
12-26-2003, 02:04 PM
Great, I finally made the "sw" folder that Fink made on my root volume invisible. Thanks for the tip about the .hidden file!
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.