How to Hide/Show Mac OS X Hidden Files and Folders?

How to show Mac OS X Hidden Files and Folders

In this article, I’m going to show Mac OS X hidden files and folders. Some people do not even realize that there is a huge range of hidden files, and folders, in Mac OS X. Apple likes to keep things simple for its users and keeps many files and folders hidden away from prying eyes. The Mac’s hidden file structure ensures that Mac newcomers do not interfere with the inner workings of a Mac. However, keeping files hidden is tedious for more experienced Mac users looking to tweak and fine-tune Mac OS X. This trick is also ideal for Mac OS X aficionados who just want to become more intimate with their Apple machine.

Show Mac OS X Hidden Files Using Terminal

It seems like everyday people search Google for the command to show hidden files on Mac OS X, not to mention Googling for the command to hide those hidden files a few minutes later. Today I decided to make a short and easy way to show macOS hidden files and folders or hide hidden files and folders. All I need to do now is type ShowFiles and HideFiles whenever I need to show or hide OS X’s hidden files. Here’s how you can do it too.

Step #1. First, what you’re going to do is open the Terminal. To open Terminal, you’ve to click on the “Go” button at the Mac OS X menu bar then choose “Utilities“. The simple and easy way to open the terminal on Mac OS X El Capitan, press  “Command+ Space” key from your keyboard. This is the easiest way to open the terminal on Mac OS X El Capitan.

Terminal Utility

Terminal Utility

Step #2. Once you open the Terminal then type this command on your terminal.
defaults write com.apple.finder AppleShowAllFiles YES
Killall Finder

show macOS Hidden Files

Show Mac OS X Hidden Files and Folders

As you can see the screenshot below by using the above command, you can see all the hidden files on Mac OS X. You can delete them or you customize them.

How to show Mac OS X Hidden Files and Folders

Show Hidden Files on Mac OS X

Hide Mac OS X Hidden Files

As you’ve understood now that how to show MacOS hidden files and folders by using terminal utility but now you may want to hide those hidden files because you don’t need them to be shown on your device.

Step #1. Open up Terminal then type the following commands. If you don’t know how to open Terminal, read step one of this article.

defaults write com.apple.finder AppleShowAllFiles NO
Killall Finder

How to show Mac OS X Hidden Files and Folders

Hide Mac OS X Hidden Files and Folders

Conclusion

In this article, we could cover how to show Mac OS hidden files and folders and as well as how to hide Mac OS X hidden files and folders. I hope that you’ve enjoyed this article, and I really appreciate you that share your idea via comment with us. Thanks for being with us.

blank

Mukhtar Jafari is the founder of wikigain.com. He holds certifications as a CISCO Certified Entry Networking Technician (CCENT) and Cisco Certified Network Associate (CCNA), and has obtained a diploma in IT Networking from TAFE. He is passionate about assisting fellow technology enthusiasts and is thus engaged in part-time work at wikigain.com. Through this platform, he shares his expertise and experiences to benefit individuals who are new to the field of information technology.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.