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

10.4: Hide Fink's /sw directory ... or any directory Desktop
Tiger only hintFor those who use Fink and had modified /.hidden so that Fink's /sw folder wasn't visible in the Finder, you'll probably have noticed that /.hidden is gone in 10.4.

Actually, this signals good things. The 'invisible' attribute on files is properly respected by the Finder again. So to make /sw (or any folder) vanish, simply install the Developer Tools, open the Terminal, and do this:
/Developer/Tools/SetFile -a V /sw
And just like that, /sw is invisible.
    •    
  • Currently 3.40 / 5
  You rated: 4 / 5 (5 votes cast)
 
[17,081 views]  

10.4: Hide Fink's /sw directory ... or any directory | 10 comments | Create New Account
Click here to return to the '10.4: Hide Fink's /sw directory ... or any directory' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Hide Fink's /sw directory ... or any directory
Authored by: iloveitaly on May 13, '05 12:26:23PM

Does anybody know how to make the /bin or /usr dir's visible? I tried setfile -a v /usr but no dice.



[ Reply to This | # ]
10.4: Hide Fink's /sw directory ... or any directory
Authored by: n8gray on May 13, '05 05:23:10PM

It works, but you have to restart the finder for it to take effect. :-)



[ Reply to This | # ]
10.4: Hide Fink's /sw directory ... or any directory
Authored by: diamondsw on May 13, '05 01:39:59PM

The Finder always did respect the attribute. The only thing you couldn't set the attribute on was symbolic links (not aliases).

Remember that a lot of these folders (maybe not /sw) are owned by root, so you'll need to use sudo.



[ Reply to This | # ]
10.4: Hide Fink's /sw directory ... or any directory
Authored by: lerici on Jan 18, '06 09:42:03AM

If You use 'SetFile -P -a 'V"' that will allow you to hide symbolic links.

However, SetFile no longer works for separate mounted partitions as it once did
in Jaguar. Does anyone know how to hide separate mounted partitions without
turning off show hard disks in the finder or creating a symbolic link to /Volumes?

I guess I like to mount partition volumes directly under the / partition.



[ Reply to This | # ]
10.4: Show Fink's /sw directory ... or any directory
Authored by: myrkr on May 13, '05 02:37:42PM

I was wondering the same as iloveitaly. It would be nice to make those /bin /sbin /var directories visible. I use the Go menu item a lot.



[ Reply to This | # ]
10.4: Hide Fink's /sw directory ... or any directory
Authored by: shunker on May 13, '05 02:46:24PM

Works well for the Microsoft User Data, Adobe Reader, etc. folders under Documents. Needed to quit Finder and restart though (enabled this feature through Tinkertool).



[ Reply to This | # ]
Relaunch Finder
Authored by: sjk on May 18, '05 03:11:28PM

Control-option-click on Finder's Dock icon to include Relaunch in the menu.



[ Reply to This | # ]
10.4: Hide Fink's /sw directory ... or any directory
Authored by: GlowingApple on May 14, '05 03:37:16AM

I had had problems with this in Panther until I realized that I needed to ignore the last slash on folders (e.g. /sw/). When tab completing it would add the slash in, but for some reason SetFile -a V /sw/ never seemed to work. When using SetFile -a V /sw it would work just fine. I haven't tried on Tiger yet, but I would assume the command would work the same.

---
Jayson --When Microsoft asks you, "Where do you want to go today?" tell them "Apple."



[ Reply to This | # ]
10.4: Hide Fink's /sw directory ... or any directory
Authored by: allanjder on Aug 30, '05 06:48:54PM

So, what would make these symbolic links show up in my root directory:

ect, tmp, and var.

Did my SetFile somehow break, is it permissions think. Permmision repair and disk repair did not fix it. I can, it seems, fix it with a .hidden file but what is broken?

Allan



[ Reply to This | # ]
10.5: Hide Any directory in Finder
Authored by: LordMelkor on Jul 08, '09 03:13:55PM

This works in 10.5, however, in order for the changes to show up in Stacks, the dock must be relaunched.



[ Reply to This | # ]