How To Hide Files and Show Them On Mac?

As we all know that there is a method of viewing hidden files in Windows device and hide files as well. Same like Windows, system files are by default hidden in Apple macOS. It shall be done by using the Terminal application for showing or hiding files in the Finder.

How To Hide Files and Show Them On Mac

How To Hide Files and Show Them On Mac

The method of viewing the Mac device in hidden files

  1. Firstly, put the combination ‘Command+Space’ for opening Spotlight Search.
  2. Then, write ‘terminal’.
  3. After that, view the Terminal application.
  4. Next, copy-paste the command that has been written below and press the enter button of your keyboard.
  5. defaults write

AppleShowAllFiles YES

  • Then, tap on the options button.
  • After that, do a right-click on the Finder application on the dock.
  • Next, choose ‘Relaunch’.
  • Then, view the Finder.
  • After that, you shall view every hidden file on the Mac device.
  • Next, your device shall display the hidden files in a dull colour.
  • Lastly, if you wish to hide the files, run the given below order in the Terminal application.
  • defaults write AppleShowAllFiles NO

The method of moving files as well as a folder to library folder

How To Hide Files and Show Them On Mac

  1. Firstly, go to the Finder and put the combination of Shift+Command+L.
  2. An alternative method: Firstly, press on Go. Then, click on Library option for viewing the Library folder. Note that this option shall be present the time you have turned on for viewing the hidden files.
  3. If you have set default mode which hides system files, then you shall not be able to view the ‘Library’ folder in Finder ‘Go’ menu. In such a case, hit the option button and press on the ‘Go’ menu for seeing the Library option. Press on it for opening the Library folder.
  4. Then, press on the Gear pull-down symbol on the toolbar.
  5. After that, tap on ‘New Folder’ for making a new hidden folder.
  6. Next, put the name of the ‘New Folder’ the way you want.
  7. After that, move the files inside the ‘New Folder’.
  8. Then, visit the Terminal application.
  9. Lastly, you need to hide every system files.

Put visibility parameter of the file

This is an option for changing the visibility parameter of an item by using the Terminal.

  1. Firstly, go to the Terminal application.
  2. Then, write the given below order for hiding the file.
  3. chflags hidden <File Path>
  4. If you have no idea about file path in Mac, just write ‘chflags hidden’ without tapping on the Enter button.
  5. Then, view the Finder app.
  6. After that, move the file or folder immediately after the command option.
  7. If you wish not to hide the file, then change the command to unhide as mentioned below.
  8. chflags unhidden <File Path>

Put a dot in File Name

If you want to hide an item on the Mac, then you need to put a dot to make it invisible. Fortunately, you shall be able to change the name whenever required.

Source By :  Xerox printer support.

Default Asked on 09/24/2019 in Printer.
Add Comment
1 Answer(s)

First, open a terminal window — press Command+Space, type Terminal, and press Enter. In the terminal, type the following command, including a space at the end of it:

chflags hidden

Drag-and-drop a folder or file from the Finder into the terminal window.

The path of the file or folder will appear in the terminal. Press Enter to run the command and the file or folder will vanish. It’s still there — it’s just hidden, so the Finder won’t show it by default.



To view hidden files and folders in the Open/Save dialog, just press Command+Shift+Period (that’s the . key).

You’ll have to click a different folder in the Open/Save dialog after pressing this shortcut. So, if the hidden folder is on the desktop, it won’t appear immediately when you press Command+Shift+Period. You have to press this keyboard shortcut, click over to another folder, and then click the Desktop folder again. Hidden folders and files will appear so you can easily access them from here.


Hope this helps !!





Gold Answered on 11/15/2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.