Long gone I was using terminal commands to show hidden files in Finder, It works well except the hassle to type commands again to hide those files in minutes later. Making aliases and adding those to our bash_profile was also a good solution and I have tried that too. Still, opening terminal and typing alias was not the best way to do that.
Today I decided to share my small utility to do that process in easy way. All you have to do is mouse click to show and hide files in Finder (I added it to my Dock). Before I share that utility let’s check what was the original method I was using to do the same work.(For educational purpose only. BTW you can find utility link at the end of this post.)
The old way to show hidden MacOS files is as follows:
Open Terminal found in Finder > Applications > Utilities
In Terminal, paste the following:
defaults write com.apple.finder AppleShowAllFiles YES
Hold the ‘Option/alt’ key, then right-click on the Finder icon in the dock and click Relaunch. Or you can enter another command
This will show all hidden files. To hide them again, follow the same steps but replace the Terminal command with:
defaults write com.apple.finder AppleShowAllFiles NO
Not too many instructions or the biggest command to remember but it is always better to save few minutes or seconds if possible.
New way to show hidden MacOS files using HideUnHide App
I created this app through Xcode to automate above process and made this App HideUnHide . Not a very complex app, just made using simple script added to my Xcode Project and saved as an App.
With this app, all you need do in the future is, add it to your dock and run it, to show and hide MacOS’s hidden files . Below is a Google Drive link for this utility.
Download HideUnHide App Download app
I have only tested it on latest MacOS Sierra.
I have also created a version to match finder toolbar icon set if you like to add it to finder toolbar (Just drag App to toolbar while holding Option+Command Keys).
Download App with matching finder toolbar icon Download app