Benches macOS

3

Hide Volume in Finder

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

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!

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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.

  2. 0

    skeelo221

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks for the reply! Unfortunately I wasn't able to try your suggestion (even though it looks to be a lot simpler!)

    After a restart of the computer the drives disappeared from the Finder.

  3. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    skeelo221 wrote:

    Thanks for the reply! Unfortunately I wasn't able to try your suggestion (even though it looks to be a lot simpler!)

    After a restart of the computer the drives disappeared from the Finder.

    that just means your setFile command worked 🙂.