Advertisement
OS X

Quick Tip: Revealing Hidden Files in OS X

by

Like any Operating System, Mac OS X will help keep things looking organized by selectively hiding certain files on your computer. For the most part, you can go without needing to access these files directly. However, if you do need to access these files, say for troubleshooting, or if you just want to have a look around, you can easily toggle the visibility of hidden files on your Mac.

In this tutorial, we are going to examine two ways of revealing hidden files and hiding them again.



Quick Tip: Revealing Hidden Files in OS X

Revealing Hidden Files With Terminal:

You can use a Terminal command to reveal the hidden files in OS X by making a change to the default behavior of Finder.

defaults write com.apple.Finder AppleShowAllFiles TRUE

You can see from this command that we are making a change to the default behavior of Finder, to show all files, and setting it to true. Next we need to restart Finder, to do this type killall Finder and hit return.

Typing The Above Command Into Terminal Will Display All Hidden Files In OS X

Typing The Above Command Into Terminal Will Display All Hidden Files In OS X

If you have a look at your desktop, you can see that there are some new files that were previously hidden. By typing this Terminal command, you can now see all the hidden files on your Mac. To set them back to being hidden, you can use the same terminal command, but change TRUE, to FALSE. Restart finder by again by typing killall Finder, and you can see that the files have gone back to being hidden.

You Can Now See All The Hidden Files And Folders On Your Mac
You Can Now See All The Hidden Files And Folders On Your Mac

By typing this Terminal command, you can now see all the hidden files on your Mac.

Revealing Hidden Files With an App

Now if you don't feel comfortable using Terminal, or if you just like to have some kind of graphical user interface to work with, there are various Apps available that you can use to achieve this same effect of turning on and off the visibility of hidden files.

One such App is Invisiblix, a free Utility App that will toggle the visibility of hidden files across OS X. Clicking the icon that looks suspiciously like the Spotlight icon will toggle the visibility of hidden files globally across OS X. Clicking the icon again, which now has a slash through it indicating that you will disable showing of hidden files, will once again hide them.

InvisibliX Is A Free App That Will Toggle The Visibility Of Hidden Files On and Off
InvisibliX Is A Free App That Will Toggle The Visibility Of Hidden Files On and Off

You can also drag and drop individual files into the App interface and edit the settings for it's visibility as well as lock the file to prevent it from being deleted accidentally. Finder will now give you a warning asking you if you really want to delete the file because the file is locked.

You Can Drag And Drop Individual Files Into InvisibliX
You Can Drag And Drop Individual Files Into InvisibliX

A Word Of Caution:

The hidden files inside of OS X are hidden for a reason. You can do some serious damage pretty quickly if you don't know what you're doing when making changes to hidden files. A bit of common sense should be enough to keep you from killing you Mac; if you don't know what the file is, it's best not to change or delete it.

You can do some serious damage pretty quickly if you don't know what you're doing when making changes to hidden files.

Conclusion:

If you need to see the hidden files on your Mac, whether for troubleshooting, hiding sensitive files, or just having a look around, OS X makes it easy to show them through a simple Terminal command or an App like Invisiblix.

Related Posts
  • Computer Skills
    Tips & Shortcuts
    Quick Tip: Bulk Add Words to Your Mac's Spell Check DictionarySpelling
    The OS X built-in spell check is great, but it is not complete. It often does not include technical terms or brand names. If you routinely use words that your Mac’s dictionary doesn’t contain, and don't want the hassle of adding them one at a time, it might be worth your while bulk adding a list of words. In this tutorial I’ll show you how to do just that.Read More…
  • Computer Skills
    Productivity
    Why a Finder Replacement is Still a Good IdeaFinder2x
    Until OS X Mavericks, a replacement Finder application was a must for most power users. Basic features like tabs were missing from OS X’s default application, so to get an improved Finder experience you had to turn to third parties. With Mavericks, however, Apple has finally brought tabs to Finder. In this tutorial I’ll show you what replacement Finder applications are out there, what they can still add to your workflow and why they're still worth getting.Read More…
  • Computer Skills
    OS X
    Understanding Safe ModeSafemode preview retina
    Apple is very careful about making sure that your Mac is rock solid from day one until day one hundred and one. Unfortunately, while their diligence ensures that it’s nearly impossible to crash or upset a new Mac, things may start to get cloudy once you introduce third-party software and peripherals. Sometimes things break. Compatibility issues arise. Software misbehaves. To help you circumvent and resolve these issues, OS X is equipped with a special operating option called Safe Mode. In this tutorial I’ll help you understand this crucial troubleshooting tool.Read More…
  • Computer Skills
    Productivity
    40 Nifty Shortcuts to Make Your Life EasierShortcuts retina
    Some people get really fast at navigating around their Mac. After they learn various shortcuts here and there, they seem to do everything in a jiffy. You can’t be left out, though, because everyone should be making use of shortcuts in their daily activities on a Mac. In this tutorial, I’ll cover the basic navigation shortcuts as well as the more advanced and even “secret” ones.Read More…
  • Code
    Tools & Tips
    Setting Up a Mac Dev Machine From Zero to Hero With DotfilesMac dev zero hero preview 400
    Setting up a new machine can often be an exciting prospect. However, as developers, there are a lot of tools we need that don't come as standard. In this post, I'd like to go through some of the techniques I use to help set up my machine quickly, efficiently and with added super powers.Read More…
  • Computer Skills
    OS X
    Quick Tip: Hide Files and Folders From Spotlight SearchSpot400
    Many of us have files that we don’t want falling into the wrong hands but to which we still need easy access. I’m less worried about encrypting my files and more concerned with camouflaging a few folders that contain personal data. The most obvious way to keep my files flying under the radar is to remove them from Spolight’s search results. There are several simple ways to do this, and I’ll run through three in this Quick Tip.Read More…