How to Hide Files or Folder on macOS

There are several reasons that warrant the hiding of files or folder on the macOs. These reasons varies based on different users opinion.  Below article is an easy way on how to hide files or folder on macOS.

How to Hide Files or Folder on macOS

To hide files or organizers on macOS, you can utilize these strategies:

Read Also:

1. Utilizing Terminal to Hide Files or Envelopes:

Step 1: Open Terminal (you’ll discover it in Applications > Utilities).
Step 2: Insert these commands and press Enter:

chflags hidden /path/to/folder

You can then supplement the /path/to/folder with the exact way to the file that you want to hide. e.g

chflags hidden /Users/yourusername/Documents/SecretFolder

Step 3: The folder or record will presently be hidden from the searcher. To unhide it, utilize the same command, but supplant ‘hidden’ with nohidden: i.e

chflags nohidden /path/to/folder

2. Applying a Dot (.) to Hide a Record or Folder:

Any record or envelope that begins with a dot (.) will be automatically hidden by default in macOS searcher.

Step 1: Rename the record or folder to begin with a dot. In essence, you’ll rename ‘SecretFolder’ to .SecretFolder
Step 2: You’ll be able to rename it in Searcher or through Terminal: i.e

mv SecretFolder   .SecretFolder

The folder will immediately be hidden from Searcher, but you can still get to it in Terminal by writing its full way.

3. Utilizing Finder’s “Go to Envelope” Alternative:

In case you’ve hidden files utilizing any of the strategies mentioned over, you’ll still be able to get to them through Searcher’s “Go to Folder” option.

Step 1:

Open the Searcher.
Step 2: Navigate on the  Shift + Command + G to launch the “Go to Folder” options.
Step 3: Enter the complete path of the hidden file or organizer and press Enter.

Read Also:

Share with your family and friends.

Thanks for reading.

 

Leave a Comment