How to Hide and Show Files/Folders on macOS

0
5

How to hide (hide) and show (show) hidden folder files (hidden) in macOS – When we do an activity or work on macOS, using a Macbook or iMac device.

Surely some of you have files or folders that are very important, or you could say secret.

So that other people do not let anyone know, and access the file or folder. Well, on the macOS itself. It does not provide a feature to hide, and show hidden files or folders, in its graphical interface (GUI).

How to Hide and Show Files/Folders on macOS
How to Hide and Show Files/Folders on macOS

Not like we used to do easily in Windows OS.

However, we can do this via the command line using Terminal .

For more details, let’s take a closer look at the following:

Here’s How to Hide, Access, Show Files/Folders on Mac OS:

1. Hide Files or Folders in Mac OS:

  • First of all open Terminal.
  • Next, create a file or folder that you want to hide (hidden).
  • Then name the file or folder.
  • For example, here I created it, and named the folder
  • Then type the following command line in the terminal:
chflags hidden
  • Then you can drag the file or folder to the terminal window, as shown below:
  • So the command line will be like this:
chflags hidden (the address for the location of the file or folder you created)
  • Just press Enter.
  • Now the file or folder has been successfully hidden.
  • You can check it, via Finder.
  • So, how do I access the file or folder?
  How to hide your purchases on Amazon

2. View Hidden Files or Folders in Mac OS:

  • To access files or folders that we have hidden.
  • You can open Finder > Go > Select Go to Folder .
  • Or you can press Shift + Command + G on the keyboard.
  • In the Go to folder section, you copy and paste the address of the hidden folder file location.
  • Select Go .
  • Now you can see the hidden folder, it will appear transparently.
  • How to display the file or folder again?

3. Unhide Mac OS Hidden Files or Folders:

  • To unhide or unhide, hidden files or folders.
  • Open Terminal again.
  • You can type the command line:
chflags nohidden
  • Then drag the file or folder to the terminal again.
  • Just press Enter.
  • Now the file or folder is visible or appears again.
  • And it’s no longer transparent.
  • Done

Also read: How to Lock Folders or Files on MacOS

Thus the article on how to hide and show hidden files or folders on macOS. Hopefully it can help you.