Mar 11








Whether you’re a Unix or Linux guru or an IT Administrator or maybe even a software programmer, there are always going to be times when you would like to be able to access files and directories that are normally just plain out of reach on Mac OS X through the GUI. And for me, I have always wanted to be able to attach log files into my emails through apple mail. Mac OS X is one of the few Unix like systems that actually hides these hidden files and root directories. No more, we are now going to uncover everything that Apple has been hiding from you in Mac OS X. This is also very helpful if you need to restore hidden files using Time Machine backups. Just follow these simple steps and you to will be able to see everything through finder:

1.) Click on the Desktop to bring up the Finder menu, and go to “Go” -> “Utilities” -> “Terminal“.
2.) Once you have your Terminal up, type in the following command and press return: defaults write com.apple.Finder AppleShowAllFiles YES
3.) Before you will be able to see the hidden files using the GUI, you will need to run the following command in Terminal to restart Finder: kill -hup `ps -ef | grep Finder | grep -v grep | awk ‘{print $2}’`

Listed below is a screenshot of Terminal running the previous commands:

Now that you can see all of your hidden files by using the GUI and Finder, you can now use Time Machine to restore hidden files.

If you decide you really don’t like being able to see all of Mac OS X’s hidden files or you have used this procedure just to restore hidden files using Time Machine, then you can follow the steps below to turn this feature off:

1.) Click on the Desktop to bring up the Finder menu, and go to “Go” -> “Utilities” -> “Terminal“.
2.) Once you have your Terminal up, type in the following command and press return: defaults write com.apple.Finder AppleShowAllFiles NO
3.) Before the hidden files will become hidden again using the GUI, you will need to run the following command in Terminal to restart Finder: kill -HUP `ps -ef | grep Finder | grep -v grep | cut -d ” ” -f5`

Leave a Reply

preload preload preload