In: Categories » » MAC » Clean Out Accumulated Cruft
The term "cruft" is hacker slang for digital detritusobsolete, extraneous, or otherwise useless files that have accumulated on your disk over time and now do nothing but take up space. By removing cruft, you can recover valuable disk space, increase the speed of backups, file searches, upgrades, and disk diagnostics, and reduce the chance of software conflicts. If you have a brand-new Mac, this step may not apply to you, but even a few months of use can generate a surprising amount of cruft.
Determining which files you need and which can go may be a nontrivial undertaking. Some files ("My 2006 tax deductions.xls" or "Take Control of Maintaining Your Mac.pdf") are obviously important, and some (caches, old downloads, and so on) are obviously disposable. In between you may find thousands of files that you can't identify and that may or may not have some value.
My advice is to work slowly and deliberately, and avoid deleting anything whose purpose you're uncertain about. In particularwith only a few exceptions I'll mention shortlyyou should be circumspect about deleting things in /Library, and almost never delete anything in /System. And remember: this is something you do to reduce clutter, not a matter of life or death. So don't be too ruthless when it comes to deleting files.
Back up first: Because you're about to delete files, I strongly recommend that you make a full backup first, in case you accidentally delete something important. See Create a Backup System and Back Up Everything.
Here are my suggestions for files you might consider deleting:
- Your ~/Documents folder is a likely place for unneeded files. Skim the contents of this folder and its subfolders, looking for documents and application support files you no longer need, and drag such items to the Trash.
Tip
Numerous programs make automatic backups of their files. This is a good thing, but over time you might accumulate dozens or hundreds of old, large backup files that do you no good. BBEdit and MYOB AccountEdge are examples of programs that tend to generate large numbers of backup files.
In addition, if you save iChat transcripts (in ~/Documents/iChats), you might also wish to delete old ones. And Eudora users may want to look through ~/Documents/Eudora Folder/Attachments Folder for unneeded attachments.
- Look in /Applications (and /Applications/Utilities) for any software you've installed over the past year but never use. (Expired demo software, anyone?) Resist the temptation to delete Apple software that came with Mac OS X, though; you may need it later.
- In the folders /Library, /Library/Application Support, ~/Library, and ~/Library/Application Support, look for folder names matching applications you no longer use, and delete them.
- Your /Library and ~/Library folders may hold other folders that store components of third-party utilities. Look inside the folders called Application Enhancers, Bundles, Contextual Menu Items, InputManagers, and PreferencePanes for any system enhancements you no longer use, and drag them to the Trash.
- Third-party Dashboard widgets live in ~/Library/Widgets. Any widgets you don't use can go.
- Software that requires some component to be running in the background all the time may install folders in /Library/StartupItems. In most cases, you should leave this folder alone, but if you see anything there from software you're sure you don't use, delete it.
Warning! The /Library/StartupItems folder often contains background software you need but weren't aware you needed. For example, SOHO Notes uses an item in this folder called OpenBase; Retrospect uses a folder named RetroRun; and Now Up-to-Date & Contact uses a folder named NUDC. In short, if you're uncertain about anything in this folder, don't touch it.
- Kernel extensions (files with names ending in .kext) add low-level functionality to Mac OS X. Examples include hardware drivers (for devices such as mice, trackballs, and audio interfaces), encryption tools, and screen-capture software. These files are stored in either /Library/Extensions or /System/Library/Extensions. Any such software you no longer need can be deleted, but be very careful, especially in /System/Library/Extensions: most of these files are essential to Mac OS X, and that includes some that may have a third-party company in their name. If you see any obsolete items in one of these folders, the safest way to remove them is to run the installer that put them there in the first place and choose Uninstall (or follow uninstallation instructions provided by the developer). Do not delete them manually.
A Conversation about Removing CruftHow important is it to remove extraneous files? These experts expressed a variety of opinions: |
Tip
Uninstaller Utilities. If you prefer not to muck around in your Library folders looking for individual files to delete, consider picking up a utility that can do all the hard work for you. Here are some examples:
- Spring Cleaning: This utility from Allume (www.allume.com; $50) can find and remove all sorts of cruft, including empty folders, orphaned aliases, Internet caches, and of course ordinary applications and their supporting files. Among the many tricks up its sleeve is the ability to restore items it has deleted if you later realize that you need them.
- AppZapper: A much simpler tool, AppZapper (www.appzapper.com; $13) does just one thing (and does it well): it removes all the pieces associated with a given application, including preference and cache files, items in your Application Support folders, and even installer receipt files.
I should also mention two utilities that don't make any attempt to uninstall software but simply help you identify and delete large files on your drive that you may not need:
- OmniDiskSweeper: (www.omnigroup.com; $15)
- WhatSize: (www.id-design.com/software/; free)
Login items are useful, but they can also increase the time it takes to start your Mac (or switch users). In addition, the more applications you have running at once, the greater your RAM usage and CPU load. So I recommend checking to make sure you don't have any login items you can do without.
To check your login items, follow these steps:
1. |
Go to the Accounts pane of System Preferences. |
|
2. |
Select your account in the list on the left and click the Login Items button |
|
Scan the list of login items for any you no longer use. If you find one, select it and click the |
||
Tip
If you hover your mouse pointer over an item in the Login Items list for a few seconds, a yellow tool tip appears with that item's complete path. This information may not tell you exactly what the item does, but it at least tells you where it is, which may provide important clues.
You may find a few unfamiliar items in the Login Items list that are nevertheless legitimate and useful. In particular, do not remove these items, if present:
- iCalAlarmScheduler: Enables iCal to display alarms even when the application is not running.
- iTunesHelper: Watches for an iPod being connected or disconnected, to help iTunes communicate with it.
- Microsoft AU Daemon: Schedules automatic updates for Microsoft Office applications
- System Events: Enables AppleScript (or applications based on AppleScript) to send commands to parts of the operating system.
legal notice
Our website is not responsible for the information contained by this article. Web-articles is a free articles resource.
Suggestion: If you need fresh, daily updated content for your website, feel free to use our service. Click here for more information.
Useful tools and features
related articles
If that AC cord coming out of your computer goes directly into a wall socket, you're putting your Mac at the mercy of the power company, your home's wiring, and all the things that can go wrong in between: brownouts, voltage spikes, lightning, you name it. Your Mac's power supply is pretty robust, but a single random power surge can still fry its circuits. Even when the electricity appears to be flowing correctly, imperceptible fluctuations in the current can cause computer components to deteriorate more quickly than normal. So p...
2. Use MAX OS X Software Update to Install Apple Software Updates
Software Update checks for new versions of any Apple software you have installed and (if you set it to do so) downloads them automatically. However, as I mentioned in Download Software Updates , you may wish to hold off on installing the downloaded updates until you have more free time and have checked to make sure they contain no serious flaws. When you're ready to install the updates, follow these steps: 1. Choose Software Update from the Apple menu. Software Update checks for updates and displays a list of any it finds...
3. Why Do Disk Errors Occur
Use Disk Utility's Repair Disk Feature Earlier, I suggested using Disk Utility's Repair Disk feature to preemptively check for and eliminate common disk gremlins (see Run Disk Utility). Because disk errors do creep in during ordinary computer use (seemingly of their own accord), I suggest running Disk Utility and using its Repair Disk command once a month. Why Do Disk Errors Occur? In addition to Disk Utility, numerous third-party utilities check for, and attempt to repair, a wide range of disk errors. I'v...
4. Make Archival Backups to DVD
By now, regular backups are a normal part of your routine: your backup software automatically updates your archives every day and your duplicates once a week, and you diligently rotate backup media offsiteright? Even so, I recommend adding one final element to your backup regimen: archival DVDs. If you've followed my advice, you already have archives of all your important filesgoing back several months or moreon each of two or more hard drives. You also have one or more complete, bootable copies of your main hard di...
5. When Apple Releases a New Version of Mac OS X
As you use your computer, your files gradually become fragmented into smaller segments scattered across your disk. Some people consider this a serious problem and go to great lengths (and expense) to correct it. Before worrying about fragmentation, you should understand how and why it happensand what the real-world consequences are. Pretend, for the sake of illustration, that your hard disk consists of exactly ten blocks, and that initially, your disk contains five small files (A, B, C, D, and E), each of which t...
6. Decide on a Backup Strategy on MAC OS
Most modern hard drives have built-in sensors and monitoring circuitry that form a system called S.M.A.R.T. (Self-Monitoring Analysis and Reporting Technology). The idea of S.M.A.R.T. is to detect the warning signs of potential problems before they occur. Although S.M.A.R.T. cannot detect every possible drive problem, it can provide one very valuable warning: "Your drive is about to have problems, so back it up and repair (or replace) it now!" What does it work with? As of mid 2006, Disk Utility's S.M.A.R.T. indicator works wit...
7. Backing Up a Small Network with MAC OS X
Some backup programs distinguish between incremental and differential archiving schemes. Although not all software uses the terms in exactly the same way, the difference is typically that in an incremental backup, only the files changed or added since the last time the backup ran are added to the archive. With a differential backup, all the files changed or added since the initial full backup are added to the archive. Thus, differential backups take longer to run than incremental backups. This distinction is important when backi...
