The OS X Folder Structure

For the first 20 years of the Mac’s existence, you began your workday by double-clicking the Macintosh HD icon in the upper-right corner of the screen. That’s where you kept your files.

These days, though, you’d be disappointed if you did that. All you’ll find in the Macintosh HD window is a set of folders called Applications, Library, Users, and so on—folders you didn’t put there.

Most of these folders aren’t very useful to you, the Mac’s human companion. They’re there for OS X’s own use—which is why, today, the Macintosh HD icon doesn’t even appear on the screen. (At least not at first; you can choose Finder→Preferences and turn the “Hard disks” checkbox back on if you really want to.)

Think of your main hard drive window as storage for the operating system itself, which you’ll access only for occasional administrative purposes.

So where is your nest of files, folders, and so on? All of it, everything of yours on this computer, lives in the Home folder. That’s a folder bearing your name (or whatever name you typed in when you installed OS X).

OS X is rife with shortcuts for opening this all-important folder:

You might also consider adding your Home folder to the Dock (Using Tags) or making it the window that appears when you press ⌘-N or choose File→New Finder Window (see Old Finder Mode).

All these steps open your Home folder directly.

If you’re the compulsive sort, you can also navigate to it the long way: Double-click the Users folder and then double-click the folder inside it that bears your name and looks like a house (see Figure 2-1).

So why has Apple demoted your files to a folder three levels deep? The answer may send you through the five stages of grief—denial, anger, bargaining, depression, and finally acceptance—but if you’re willing to go through it, much of the mystery surrounding OS X will fade away.

OS X has been designed from the ground up for computer sharing. It’s ideal for any situation where different family members, students, or workers share the same Mac.

Each person who uses the computer will turn on the machine to find his own separate desktop picture, set of files, web bookmarks, font collection, and preference settings. (You’ll find much more about accounts in Chapter 11.)

Like it or not, OS X considers you one of these people. If you’re the only one who uses this Mac, fine—simply ignore the sharing features. (You can also ignore all that business at the beginning of Chapter 1 about logging in.) But in its little software head, OS X still considers you an account holder and stands ready to accommodate any others who should come along.

In any case, now you should see the importance of the Users folder in the main hard drive window. Inside are folders—the Home folders—named for the different people who use this Mac. In general, nobody is allowed to touch what’s inside anybody else’s folder.

If you’re the sole proprietor of the machine, of course, there’s only one Home folder in the Users folder—named for you. (The Shared folder doesn’t count; it’s described on Sharing Across Accounts.)

Yes, OS X imposes a fairly rigid folder structure. But by keeping such tight control over which files go where, OS X keeps itself pure—and very, very stable. Furthermore, keeping all your stuff in a single folder makes it very easy for you to back up your work. It also makes life easier when you try to connect to your machine from elsewhere in the office (over the network) or elsewhere in the world (over the Internet), as described in Chapter 19.

If you did want to explore the entirety of OS X, to examine the contents of your hard drive (choose Go→Computer and double-click “Macintosh HD”), you’d find the following folders in the main hard drive window:

Within the folder that bears your name, you’ll find another set of standard Mac folders. (The Mac considers them holy: They have special logos on their folder icons, and you can’t rename them.) OS X creates these folders solely as a convenience: