Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Apple > Operating Systems

Tips and Tools for Managing Disk Space in Mac OS X

It's amazing how quickly a home's seemingly endless supply of closet space becomes crammed to overflowing. Is your Mac having the same experience? Whether your problem is trying to save routine work files or speeding up your Mac's sluggish performance, Ryan Faas offers a set of solutions to clear out the overflow and improve your storage organization.
Like this article? We recommend

Many years ago, when I moved into my first apartment, I thought that it had an insane amount of closet space for one person. A full-size bed could've fit in the walk-in closet with room to spare, and the coat closet and the linen closet were each bigger than any closet in the house where I grew up. I thought that I could never fill up all that storage space. By the time I moved out a couple of years later, I not only had filled all three closets, but also the basement storage unit that came with the apartment. In the years since, I've never lived anyplace that had that much storage space, and I've been forced to resort to buying under-bed storage containers and additional dressers, and occasionally renting a storage unit.

What does this story have to do with a Mac (aside from occasionally running out of room for Mac-related peripherals)? The thoughts that I had about all that closet space are identical to what many Mac users think when buying a new Mac—it seems to have more storage than they could ever need. But as Macs store more and more of our media (music, movies, photos), the need for storage space continues to grow by leaps and bounds.

A decade ago, 20GB seemed adequate for the average user. Today, half of that space would be taken up by Mac OS X and a typical set of applications: Microsoft Office, iWork, iLife, assorted games, maybe some advanced graphics or audio tools. And that doesn't take into account the space required for a typical iTunes or iPhoto library, to say nothing of GarageBand projects and raw footage, as well as completed projects for iMovie. Today all Macs ship with a minimum of 250GB hard drives (with the exception of the ultra-thin MacBook Air), and even that amount of space is easy to fill up in short order.

What are Mac users to do when we start running short on storage space? The options are essentially the same ones I faced after leaving my first apartment: Get rid of things that you don't need, find ways to make things fit into less space, and spend money for extra storage. This article looks at how to apply those techniques to your Mac.

Getting Rid of Things You Don't Need

Whether you're cleaning out your closet or your Mac's hard drive, the easiest solution is to get rid of stuff that you don't need anymore. While it may be easy to look through your closet and pick out the clothes you don't wear, the process of choosing files to remove from your hard drive is a bit more difficult. Two factors can make this type of "data housecleaning" difficult:

  • Even if you created most of them, you may not know which files and folders are actually taking up a lot of space.
  • When you start looking beyond documents and other files you've created or applications that you've installed, it can be difficult to know what you can safely toss, and what you need to keep to ensure that your Mac and applications continue to function properly.

Let's tackle each of these issues separately.

Finding File and Folders That Take Up Space

The first place to begin looking is at things that you've put on the Mac yourself. This category includes music you've downloaded, photos and videos you've captured, various types of other documents that you've either created or added over the years, and applications that you've installed (or, in some cases, ones that came with your Mac).

Looking through your home folder, you can probably get a sense of which documents you need or want to keep, which you no longer need at all, and which you need to keep but don't open regularly. (That last group can be archived by burning them to CD or DVD, allowing you to keep them for later reference but get them off your hard drive.) Likewise, you can look through your Mac's Applications folder and decide whether you need each of the applications in there.

Of course, you can do this process entirely by hand, opening each folder and checking the size of the documents within it (file sizes are included in the Finder's List View). To avoid opening every folder, however, you can use the Finder's File > Get Info command (or press Command-I) to check each folder. This approach allows you to start at the root level of your home directory and check each folder, drilling down through levels of folders only for those that seem to contain a large amount of data.

There's absolutely nothing wrong with checking each individual folder, and actually it can be helpful for you to look through your Mac for files that you may have forgotten about over time. I try to do this whenever I upgrade to a new Mac, before running the Migration Assistant and moving everything over from my old Mac. In addition to finding forgotten files, this process can help me to reduce the amount of stuff that needs to be transferred, which saves time.

Unfortunately, this process can be pretty time-consuming. If you don't want to spend a day or more looking through all your documents by hand, you can use some of the available tools that quickly identify files you've haven't opened recently and/or that are taking up significant amounts of disk space. Housekeeping may be a good idea in general, but if you're trying to recover space, you really need to give priority to larger items or collections of items.

For example, I still have a folder with various papers, projects, and reference material from my college days. I don't look at it very often, but since it only takes about 25MB, I'm not going to gain much space by tossing it. On the other hand, a forgotten 500MB GarageBand project from a few months ago is a big deal, as is a series of promotional materials I created as a favor for someone, using Adobe Illustrator, Photoshop, and In Design, that requires nearly 2GB for storing both raw and finished data.

One of my favorite features of Drive Genius (which I recently highlighted in my overview of Mac hard drive tools) is Drive Slim, which allows me to search for files that are over a specified size and that haven't been accessed in a set time period. This feature makes it very quick and easy to spot files that are unused and taking up space, but it doesn't always give you a good overview of what's filling up your hard drive. For that purpose, there are three good products that give you a bird's-eye view of your entire hard drive, pointing out which folders and files (as well as which types of files) are consuming the most space:

All three products let you get more granular details by delving into large folders and then into various subfolders. WhatSize and DaisyDisk are particularly good at helping you to visualize the space used on your drive(s); both WhatSize and OmniDiskSweeper integrate the ability to delete files directly from their interface.

System and Application Files

Recovering disk space used by various system and application files can seem like a risky idea, particularly if you're not very familiar with the folders and files that run Mac OS X. However, a number of files that you may not need take up a fair amount of space, as you'll quickly be able to tell with any of the tools I just mentioned.

The following sections detail some places to look for files that take up a lot of space and yet are generally safe to remove.

Unused Applications, Preference Panes, Screensavers, and Widgets

Removing unused applications is an obvious way to recover disk space, particularly if the applications came preinstalled on your computer or were migrated from a previous Mac using Apple's Migration Assistant. You also may have unused programs from software suites that bundle together a number of applications, such as Microsoft Office or part of Adobe's Creative Suite line.

In addition to applications, third-party preference panes (which appear in System Preferences), screensavers, and Dashboard widgets can take up space even if you're not using them. These items all live in different places on your hard drive. Applications can live in the Applications folder at the root level of your startup drive (if installed for all users) or in the Applications folder in your home folder or the home folders of other user accounts. Similarly, preference panes, screensavers, and widgets can reside either in the Library folder at the root level of your hard drive or the in the Library folder in your home folder or the home folder of other users.

Material Left Behind by Deleted Applications

Simply deleting an application can reclaim disk space, but many applications have supporting files that are either installed with the application or are created the first time someone opens the program. These extra files typically include preferences (files that define any user or system-related settings for the application) and application support files. Preferences files rarely take up much space, but still can be worth removing.

Since each user will have preferences for an application, these files are stored inside the Preferences folder in the Library folder in each user's home folder. They may be stored in folders or files named specifically for the application, or (most frequently) in files with a more archaic name structure such as com.apple.iWork08.plist. This format identifies the developer of the application followed by the name of the application itself, and is used for applications that directly follow Apple's current accepted practice of storing preferences as XML data in a property list file (hence the .plist extension). Some applications may also have system-wide preferences files stored in the Preferences folder inside the Library folder at the root level of your hard drive.

In addition to preferences files, many applications make use of additional support files. These files can extend or add features to applications, define global settings, provide additional utilities used only from within the application, or include additional features such as help files or introductory videos.

Such support files are typically stored in the Application Support folder inside the Library folder (most often the Library folder at the root level of your hard drive, making them available to all users, but sometimes also in your home folder or the home folders of other users). The Application Support folder(s) is organized with subfolders for each developer or each application. For example, Adobe applications have separate folders inside the Adobe folder. These folders can contain much more data than preferences files and may be gigabytes in size for some applications—making them a prime target for reclaiming space.

Although application support and preferences files are not deleted with applications by default, tools are available that can act as uninstallers, removing all associated files along with an application. I'll profile those tools at the end of this section.

Read Me Files and Documentation Files

Many applications come with Read Me and manual files that are installed by default. Most applications (and Mac OS X itself) place documentation files in the /Library/Documentation folder at the root level of your hard drive.

Using Spotlight to search for Read Me files or all PDF files can help you to locate manuals and guide files stored in other locations. You may never have even looked at many of these files, and you probably don't need them. In the case of PDF manuals, these files can actually be quite large, so removing them can free a sizable amount of space.

Mail Attachments

When you receive email with attachments, Mail automatically downloads the attachments and stores them in the Mail Downloads folder inside the Library folder in your home folder. They remain there until the email is deleted or you remove the attachment files manually—even if you save the attachments to your Desktop, Downloads folder, or other location. If you regularly receive a large number of email messages with large attachments, deleting messages you no longer need can save space.

Downloaded Items

In Mac OS X Leopard and Snow Leopard, Apple introduced a Downloads folder for each user. Any items you download from a site by using a web browser are stored there. Other applications capable of downloads, including some email clients and FTP applications, may also store downloads there. To avoid malware and viruses, you probably open these files after downloading them; generally, you shouldn't leave a browser set to open files automatically. For software installers or disk images, you may use them and then forget about them afterward. This practice can lead to a lot of unneeded space being used in this folder, making it a great place to check periodically to see if you really need all those files.

Excess Developer Tools

Apple provides a number if developer tools along with every copy of Mac OS X. These aren't installed by default (not every Mac user is a developer), but when they're installed they tend to follow an all-or-nothing approach. This means that even if you just want the tools to create Dashboard widgets using Dashcode, you'll still get all the tools and resources for writing full-fledged Mac OS X software and applications. If you join one or more of Apple's developer programs, you may get even more tools (such as those for developing iOS apps), and you may get varying versions of the same tools.

Apple's developer tools can easily suck up a lot of space. If you have tools you won't use, that wasted space may be worth reclaiming—you can always reinstall the tools later if you need them after all. If you received a used Mac that was owned by someone interested in developing widgets, Mac software, iOS apps, or other projects, you may not need any of these tools. Look through the Developer folder at the root level of your hard drive to remove unneeded tools and documentation. If no such folder exists, no developer tools were installed.

Old iOS App and Podcast Files

iTunes serves as the gateway for syncing all manner of information to any iPod or iOS device (iPhone, iPod touch, iPad). It's also the primary point of access for the iTunes Podcast directory. This means that any iOS apps you download are stored as files accessible to iTunes—even if you delete them from the device.

You also may have podcast episodes that you've already heard or watched (depending on your podcast settings) stored in iTunes. Deleting these files can free a significant amount of space, particularly from video podcasts and iPhone/iPad games. When you delete these items (as well as songs, movies, and TV shows) from iTunes, you'll have to choose whether to move their associated files to the Trash (and then delete them when you empty the Trash), allowing you to recover that space.

Unneeded iOS Update Files

Another iOS-related culprit is device update and backup files. Whenever you update an iPhone, iPod touch, or iPad, iTunes downloads an update file to your hard drive and keeps it indefinitely. This file allows you to restore the device using the current software at any time. In some—but not all—situations, it also lets you downgrade to a previous version.

The most recent updates applied to your iOS devices are stored in your home folder's Library folder. Inside the iTunes folder you'll find folders with the name of each device—iPhone, iPod, etc.—and the words Software Update. Previous updates are stored in the MobileDevice folder inside the Library folder, in a folder named Software Images.

Each of these updates generally runs around 300MB or larger. Every major iOS update for each type of device synced to your computer is retained. So if you have an iPhone 3G, a second-generation iPod touch, iPhone 4, and an iPad, you'll have all the updates for each of those devices, because the updated content for each device or generation of a device is different. Obviously, this can add up to a large amount of space over time with even a single device. So getting rid of older (but not the most recent) update files can free a lot of space.

iOS Backups

iOS devices automatically back up their non-media contents (call logs, text and picture/video messages, application data, and so forth) during each sync. This is a great feature because it allows you to restore all your data immediately if you need to restore the device as part of troubleshooting a problem, or if you upgrade to a newer device or replace a lost or stolen device. However, iTunes keeps device backups indefinitely. Therefore, if you restore a device during troubleshooting but don't restore the previous contents (which may be a further troubleshooting step if file corruption is suspected), or if you give away or sell a device, you'll have excess backups that can claim a significant amount of space.

You can view the devices for which iTunes is maintaining backups by opening the iTunes Preferences dialog (iTunes > Preferences) and selecting the Devices pane. Each backup will be listed by device name and will show the date of the last backup. You can use this pane to select and delete any unneeded backups.

System and Application Cache Folders

Mac OS X relies on cache files for some system and application functions. Cache files can speed up performance of specific activities, but items stored in these files eat up disk space. You can use various tools to delete items in your Mac OS X cache folders. Since Mac OS X continually repopulates its cache files, you'll need to do this periodically.

Cleanup Tools

So far, I've talked about specific types of files that can take up space unnecessarily and how you can delete these files manually. The following tools can automate deleting some (but not all) of these files, which can make recovering storage space much easier and quicker—particularly if some items, such as cache files, require regular cleanup.

  • MacPaw's CleanMyMac ($14.95 with free updates for six months, or $29.95 with free lifetime updates) can clear several system and application cache files and logs. You can use it to remove applications, widgets, preference panes, and application plug-ins, along with all related application support and preferences files, as well as to remove orphaned files from previously deleted applications. CleanMyMac offers a Trash monitor to alert you when items in the Trash reach a specified threshold of disk space. It also can slim down installed applications (as discussed in the next section).
  • OnyX (free) is a downloadable system utility from Apple. It can clear a variety of system and application cache files and logs. This tool can be used for general maintenance and troubleshooting, or to customize many aspects of the Mac OS X user interface.
  • AppZapper ($12.95), by Austin Sarner and Brian Ball, identifies and removes related files along with applications.
  • AppDelete ($7.99), by Reggie Ashworth, removes associated files when deleting applications, widgets, preference panes, plug-ins, and screensavers.
  • AppTrap (free), by Kumaran Vijayan, asks whether you want to remove associated preference files whenever you move an application to the Trash.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020