Hide/Unhide drive volumes on Desktop in Catalina

hi everybody - I recently upgraded to Catalina and some easy terminal commands no longer work. Previously, I was able to hide select drives/volumes on my desktop with the simple terminal commands


chflags hidden /volumes/"name of drive"

chflags nohidden /volumes/"name of drive"


Apparently that no longer works in Catalina.


Does anyone have any ideas or work arounds so that I can hide these volumes?


Thanks in advance


Chris

Mac Pro, macOS 10.15

Posted on Apr 9, 2020 7:58 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 9, 2020 8:18 AM

Chrisla58 wrote:

hi everybody - I recently upgraded to Catalina and some easy terminal commands no longer work. Previously, I was able to hide select drives/volumes on my desktop with the simple terminal commands

chflags hidden /volumes/"name of drive"
chflags nohidden /volumes/"name of drive"

Apparently that no longer works in Catalina.

Does anyone have any ideas or work arounds so that I can hide these volumes?

Thanks in advance

Chris



How about from Terminal, copy and paste:


sudo SetFile -a V /Volumes/"Drive Name"  && killall Finder
6 replies
Question marked as Top-ranking reply

Apr 9, 2020 8:18 AM in response to Chrisla58

Chrisla58 wrote:

hi everybody - I recently upgraded to Catalina and some easy terminal commands no longer work. Previously, I was able to hide select drives/volumes on my desktop with the simple terminal commands

chflags hidden /volumes/"name of drive"
chflags nohidden /volumes/"name of drive"

Apparently that no longer works in Catalina.

Does anyone have any ideas or work arounds so that I can hide these volumes?

Thanks in advance

Chris



How about from Terminal, copy and paste:


sudo SetFile -a V /Volumes/"Drive Name"  && killall Finder

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Hide/Unhide drive volumes on Desktop in Catalina

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