By default, the Finder hides many files and folders from view, including the entirety of Darwin’s diretory layout, under the philosophy that most Mac OS X users will never need to access the system’s Unix underpinnings. Savvier users, on the other hand, have a number of ways to see and work with all the filesystem’s files.
There are two ways to see files that don’t appear in the Finder. The most direct way involves simply viewing a folder’s contents by dropping into the Terminal and running the ls command on it. The Terminal sees the world simply as a tree of directories and files, and nothing more; files that have special, Mac-specific system roles appear like any other file. (However, you’ll have to run ls with the -a flag.)
The other way involves changing the
Finder preference that
keeps these files hidden from sight. (Apple gets points for making
this a user-adjustable preference, albeit not a very obvious one.)
You’ll need to add a value to the Finder
preferences’ file. You can accomplish this by
command-line program on
com.apple.finder user defaults domain
(described in Chapter 22), or by directly editing
file with the Property List Editor application, as shown in Figure 9-2.
To add a value to the
file, follow these steps:
Launch the Property List Editor
com.apple.finder.plist file located ...