Is it possible to show only specific hard drives on the desktop? I have a MacPro tower (3,1) with 3 drives. The boot drive is running El Cap, but there is a legacy boot drive that I would like to keep live, but mostly I don't want users to access it. Can I put the El Cap boot drive on the desktop somehow, but leave off the legacy drive? Does not seem possible in the GUI, or by directly writing to the com.apple.finder plist. Anyone have any tricks?
Show/Hide only specific hard drives on desktop and/or sidebar
desktopfinderhard drive
Related Question
- MacBook – I can’t boot into Windows 7 on Boot Camp
- MacOS – Hide .DS_Store and .localized from Desktop only without 3rd party app
- MacOS – MacBook with a new hard drive fails to start
- MacOS – Permanently Hide SD
- MacOS – How to script the forced logging out another desktop user from OS X
- Applescript to change desktop background positioning (e.g., Fill to screen
Best Answer
You can use the
chflags
command to hide a drive icon from the desktop:Then, relaunch the Finder by option-right-clicking it in the Dock and choosing Relaunch.
To restore visibility of an item, use
chflags nohidden
instead.Of note, this won't hide the icon from the sidebar, only from the desktop and Finder folder listings.