05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Cache Files, Preferences, and Support Files<br />

CHAPTER 6 COMMON LEOPARD MAINTENANCE 131<br />

The first place to look for leftover files is in your ~/Library folder, particularly in the Caches<br />

folder, the Preferences folder, and the Application Support folder.<br />

The Application Support folder is a common place for applications to store all sorts of items<br />

that help them function. This should be stop one. Just take a look and see if the application you<br />

are removing has a support folder here (it will usually have the same name as the application<br />

itself.) If so, you may delete it.<br />

NOTE Before you delete support files, make sure you have any information that the application<br />

was storing for you backed up.<br />

NOTE Some applications will create their own support folder in your ~/Library folder rather<br />

than in the Application Support subfolder.<br />

After you clean out any application support files, check the ~/Library/Caches folder. Here,<br />

many applications (especially network-enabled apps) store temporary cache files. These can take<br />

up lots of space, so you don’t want to leave any unused cache files lying around.<br />

NOTE It’s not a bad idea to delete the caches of all applications every now and then. Just<br />

make sure that the application isn’t running when you delete the folder. The application should<br />

just create a new cache the next time it needs one. Cleaning out these folders can add a fairly<br />

significant amount of disk space.<br />

The next place to look is your ~/Library/Preferences folder. This folder keeps track of all<br />

your personal preferences for all your applications and many other system features; and every<br />

application, even if just launched once and closed, is likely to have created a file here. Finding the<br />

appropriate preference file is a bit tricky. Traditionally, there was no specific naming convention<br />

for preference files, so they were usually named after the application. Additionally, certain software<br />

developers would (and still do) create a folder here to store the preferences for all their<br />

applications (because some applications share preferences among similar applications). Today,<br />

however, there is a specific naming convention for most preference files that uses a reverse toplevel<br />

domain for the developer, followed by the name of the application, followed by some<br />

sub-information if needed. So, for example, all the preference files for Apple products would follow<br />

the format com.apple.appname.subpref. Usually, these will end with a .plist extension<br />

indicating the type of file is a property list. Once you locate the appropriate preference for your<br />

deleted application, you may likewise delete it.<br />

NOTE Preference files are interesting to take a peek at. If you installed the Xcode tools, a special<br />

application, /Developer/Applications/Utilities/Property List Editor, was installed<br />

that makes browsing and editing these .plist files easy. Most .plist files are written in XML,<br />

which can be viewed in any text editor as well. While you should exercise some caution with<br />

preference files, you may discover preferences for certain applications that aren’t otherwise<br />

accessible (hidden preferences).<br />

NOTE While it’s not recommended that you regularly delete a preference file, if you do mistakenly<br />

delete one, it essentially resets the application back to the first time you used it. With<br />

some apps, this may cause no noticeable difference; with others, you may need to go through<br />

the setup or registration process again. While this may be inconvenient, it’s rarely a big<br />

problem.<br />

NOTE Occasionally, an application may create some of these files in the /Library folder as<br />

well. Feel free to delete these as well.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!