[ gagisa.net ]

 
  • Increase font size
  • Default font size
  • Decrease font size
Home
Mac OS: See all Files in Finder

Mac OS: See all Files in Finder

E-mail Print PDF
User Rating: / 0
PoorBest 

If you work with Unix files and folders a lot, you’ve probably already noticed that you can’t see many of them in the Finder—the /usr, /bin, and /etc folders, amongst many others, don’t show up in the Finder.

If you want to, for instance, use a GUI editor such as Smultron or BBEdit to open a Unix file, you can’t do it via a double-click (or drag and drop) in the Finder, because those Unix files will be hidden from view. Although most editors, including BBEdit and Smultron, include an “Open Hidden” menu item for reaching these files, sometimes it’s more convenient to browse and open them from the Finder.

Using a simple Terminal command, you can work with all the files on your machine from the Finder. Open Terminal, type this command, and press Enter:

defaults write com.apple.Finder AppleShowAllFiles YES

To make the command take effect, you need to restart the Finder. One way to do this is to hold down the Option key, then click and hold on the Finder icon in the Dock. When the contextual menu appears, select Relaunch and the Finder will restart.

When it does, you’ll find that you can now see every single file and folder on your Mac:

Notice that the /tmp, /usr, and /var directories now show up in the Finder. You’ll also discover that you can see your Unix “dot files,” such as .bashrc, in the Finder.

So what are the downsides of this trick? Well, you’ll see every hidden file on your system, which means that you’ll see a .DS_Store file in every directory. And by having every file visible, it’s that much easier to make a dumb mistake and accidentally delete one (though the truly important files are system-owned, making it much harder to do something stupid to them). Finally, as you can see in the above screenshot, all of your folder icons (in 10.4, at least) will be dimmed. However, if you work with Unix files a lot, you may find these tradeoffs worth it for the increased ease of use.

If you tire of the dimmed folders and other downsides, just open Terminal and repeat the command, but change YES to NO, then press Return again. You’ll need to relaunch the Finder again, but when you do, everything will be back to normal.

Comments (0)add
Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security image
Write the displayed characters


busy
Last Updated ( Saturday, 10 October 2009 23:59 )  

Who's Online

We have 6 guests online

JoomlaWatch

JoomlaWatch Stats 1.2.8b by Matej Koval

Countries

64.9%UNITED STATES UNITED STATES
15.2%UNITED KINGDOM UNITED KINGDOM
5.4%CANADA CANADA
5.1%SPAIN SPAIN
0.8%AUSTRALIA AUSTRALIA

Visitors

Today:  2
Yesterday:  8
This week:  13
Last week:  34
This month:  38
Last month:  129
Total:  4018



Sponsored Links


Newsflash

Mgcini will soon be releasing his Journal Notes from his recent visit to these countires...  Read Days 1 -5 here...