Mac OS: Set Folder Invisibility

Mac OS set some folders to invisible. If you need to access from UI, these folder invisibility must be set to no hidden.

I show you how easy to set the folder invisibility

In this scenario, I would like to show folder Volumes and it is hidden in UI.

MacOS_0001_0001

 

To set the folder invisibility, you need to open Terminal and issue the following command:

#sudo chflags <hidden|nohidden> <FOLDER_PATH>

Steps to Set Folder Invisibility to Visible (no hidden)

  1. Open Terminal (Mac HDD -> Applications -> Utilities -> Terminal)

  2. Execute command and enter password if prompt

#sudo chflags nohidden ./Volumes

  1. In Terminal, issue command ls -l

Volumes folder attribute changes from @ to +

MacOS_0001_0003

  1. In UI, Volumes folder appears

MacOS_0001_0004

Steps to Set Folder Invisibility to Invisible (hidden)

  1. Open Terminal (Mac HDD -> Applications -> Utilities -> Terminal)

  2. Execute command and enter password if prompt

#sudo chflags hidden ./Volumes

  1. In Terminal, issue command ls -l

Volumes folder attribute changes from + to @

MacOS_0001_0005

  1. In UI, Volumes folder disappears

MacOS_0001_0001

References:

  1. Mac OS X version 10.9: CHFLAGS

 

Leave a Reply

Your email address will not be published. Required fields are marked *

twenty + one =

YLNotes: Yunlong Notes © 2017 Frontier Theme