Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Hide Volume in Finder

I followed the instructions here trying to hide some volumes that are on my Finder sidebar & desktop:
http://www.macosxhints.com/article.php?story=20080124184544791

When I enter the "SetFile -a V '/Volumes/XXX/' command in Terminal it appears to execute the command (it doesn't give an error message). I then use the killall "Finder" command to restart the finder but the volume still resides in the sidebar and on the desktop.

Any ideas?

Thanks!

Mac Pro Quad (Nehalem), Macbook 2 GHz Core 2 Duo, Mac OS X (10.5.6), MP: 640GB,1TB,1.5TB, 6GB, ATI 4870 | MB:120GB,2GB | 3G iPhone

Posted on Apr 25, 2009 8:32 PM

Reply
Question marked as Best reply

Posted on Apr 25, 2009 9:14 PM

you don't need Developer tools and setFile to set a hidden flag.
run the following command in terminal

chflags hidden /volumes/"name of drive"

put the name of the volume you want to hide in the above. KEEP the quotes.
if the command returns an error it means you don't own the volumes. in this case run

sudo chflags hidden /volumes/"name of drive"

you'll have to enter your admin password (which you won't see). that's normal. this will hide the drive from finder but not from the sidebar. to remove it from the sidebar drag it off the sidebar.
3 replies
Question marked as Best reply

Apr 25, 2009 9:14 PM in response to skeelo221

you don't need Developer tools and setFile to set a hidden flag.
run the following command in terminal

chflags hidden /volumes/"name of drive"

put the name of the volume you want to hide in the above. KEEP the quotes.
if the command returns an error it means you don't own the volumes. in this case run

sudo chflags hidden /volumes/"name of drive"

you'll have to enter your admin password (which you won't see). that's normal. this will hide the drive from finder but not from the sidebar. to remove it from the sidebar drag it off the sidebar.

Hide Volume in Finder

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.