Apple always tries to keep things simple for its Mac users. There are various types of hidden files and folders on your Mac, but you are unaware of it. If you are looking for a guide which will show you how to show the hidden files and folders on your Mac, then this guide is the only thing you need to follow. In this guide, you will learn how to show/hide hidden folders on your Mac easily using command and by following some simple steps.
Show Hidden Files and Folders on your Mac
First of all, you will learn how to show or reveal all the hidden file and folders on your Mac. To do so follow the steps given below.
At First with the help of the Finder, open Go.
Now in Go, Select Utilities.
Now in Utilities, select “Terminal” option.
Now execute the following command and then press Enter.
defaults write com.apple.finder AppleShowAllFiles yes
Now again type the following command and press enter.
That’s it. All hidden files and folders on your Mac’s are now visible.
What the above command does is that it makes your Mac display all the files including the hidden files to the user. That is all you need to do to view hidden files in Mac.
Hide Files and Folders on your Mac
Now you will be thinking how to hide these files and folders which you had revealed before. In order to do so, Follow the steps given below.
At first, go to Finder and then Open Go.
Now In Go, Open Utilities.
In Utilities, Go to Terminals.
Now type the following command and press Enter.
defaults write com.apple.finder AppleShowAllFiles no
Once done, type the following command and then press Enter.
Type in the correct command mentioned above, if not typed properly, then this might not work for you.
This is all you need to do to Show/Hide Hidden Files and Folders on MacOS. If you have any doubts or suggestions do let us know in the comments.