• Skip to main content
  • Skip to primary sidebar
  • Home
  • About
    • Stephen Foskett
      • My Publications
        • Urban Forms in Suburbia: The Rise of the Edge City
      • Storage Magazine Columns
      • Whitepapers
      • Multimedia
      • Speaking Engagements
    • Services
    • Disclosures
  • Categories
    • Apple
    • Ask a Pack Rat
    • Computer History
    • Deals
    • Enterprise storage
    • Events
    • Personal
    • Photography
    • Terabyte home
    • Virtual Storage
  • Guides
    • The iPhone Exchange ActiveSync Guide
      • The iPhone Exchange ActiveSync Troubleshooting Guide
    • The iPad Exchange ActiveSync Guide
      • iPad Exchange ActiveSync Troubleshooting Guide
    • Toolbox
      • Power Over Ethernet Calculator
      • EMC Symmetrix WWN Calculator
      • EMC Symmetrix TimeFinder DOS Batch File
    • Linux Logical Volume Manager Walkthrough
  • Calendar

Stephen Foskett, Pack Rat

Understanding the accumulation of data

You are here: Home / Everything / Apple / Clean Up Your Mac! Essential OS X Tidiness Tools and Techniques

Clean Up Your Mac! Essential OS X Tidiness Tools and Techniques

January 19, 2009 By Stephen 6 Comments

Disk Inventory X is an amazing tool to zoom into your full disk and figure out what's taking up all the space!
Disk Inventory X is an amazing tool to zoom into your full disk and figure out what's taking up all the space!

I’m not an inherently tidy person. That’s one reason that I upgraded my MacBook Pro’s hard disk to 320 GB! But as a storage and data management consultant, I generally keep my computers much cleaner than my office.

So I was surprised to see a pop-up window on my Mac telling me that my hard drive was full! It was time to investigate data management applications for OS X. Luckily, I found some great tools, and these helped me isolate the space-wasting items quickly and easily.

This post is part of my series focused on Apple OS X tips and tricks.

  • Access NTFS Volumes On Your Mac
  • Clean Up Your Mac! Essential OS X Tidiness Tools and Techniques
  • How To Move OS X Time Machine Backups To A New Disk
  • Hallelujah! OS X Can Reduce PDF File Size!
  • Custom Drive Icons in Mac OS X
  • OS X Custom Drive Icons 2: Boot Camp and NTFS

Who’s To Blame?

When it comes to data storage, out of sight is usually out of mind. The primary culprit in the rampant over-saving of data is a lack of perspective and visualization: We tend to focus on the items we think are at fault rather than the true space wasters.

Consider your PC or Mac: Do you really know what is taking up all of your disk space? Unless you have a good tool, the answer is probably not. You might think that your “Documents” folder takes up most of the room, since you use it all the time and it has so many files in it. But even the bloated files produced by Microsoft Office pale in comparison to multimedia photo, music, and video files. And it is usually the folders that you don’t actively manage that are the worst space-wasters!

All operating systems have their secret corners that fill up with cruft, and many applications do a terrible job of cleaning up after themselves. In my PC days, I used to use Glary Utilities to clean out the corners of Windows and the awesome treemapping visualizations in WinDirStat to find where my storage was going. But since switching to my Mac I wasn’t aware of similar utilities.

Mapping the Tree

Let’s back up for a minute. Treemapping is an incredibly slick way to quickly zoom in on capacity problems. It divides up a rectangular region into color-coded blocks sized according to some factor for easy visualization. In this case, every file on a hard disk is represented according to its size and colorized by type. See the image at the top of the post for an example, using data from my laptop’s OS X drive.

I created this map with the awesome free Disk Inventory X application, which scans any drive connected to an OS X machine (even a NFS or CIFS share) and creates an interactive treemap. GrandPerspective is a similar app, but I like DI better after trying both.

One glance at the treemap and the eye is drawn to the large aqua file (my iPhoto library, all 25 GB of it) and the multitude of blue and red video files. File types are listed on another inspector, ordered in descending order of size, allowing me to see that I had more than 100 GB of TV shows and movies on my drive, and these made up the bulk of my “missing” space!

Click on a block, and DI displays the file as well as its location in the tree. We can then navigate up and down to locate other areas of wasted space, and DI highlights the current file or folder in the treemap to give a visual representation of what it contains.

Watch my demonstration of Disk Inventory X! Sorry about IShowU's screen spam!

Cruft

I found lots of junk (cruft) stored on my Mac:

  • The Downloads folder seems like a junk magnet. I tend to open downloaded items from Safari’s Downloads window rather than using Finder, but when you select Remove From List there, it leaves the file in the Downloads folder. Even if you try to police your Safari download junk you can miss a few files. So this has to be the first place to look for cruft in OS X!
  • I love how OS X installs apps – in many cases with a simple drag and drop to the Applications folder. But regardless of the install method, old dmg, iso, and pkg files seem to find their way onto my disk. Most of them are in Downloads, but I have found ’em in lots of places.
  • iTunes is particularly egregious, keeping every downloaded iPhone update package in ~/Library/iTunes/iPhone Software Updates. I had 1.3 GB of files sitting there! It’s a good idea to keep the current one around in case you need to restore your phone, but the old ones are just junk. This applies equally in Windows, by the way!
  • When you double-click on a zip file in Finder, it expands the whole thing wherever you are, unlike Windows which lets you browse the zip without expanding it. I found quite a few of these weird folders all over my Documents folder, where I had opened a zip to have a look and left behind the entire contents.
  • I keep my desktop clean, but I bet most people have at least a few gigs of junk hanging out there!
  • VMware, Parallels, and VirtualBox create massive virtual disk files, and these can often auto-grow, becoming space vampires without your knowledge. Be careful if you’re using these apps!
  • I’ve got two complete sets of my mail folders created by OS X Mail. I’m not sure why, but am shy to actually delete one.
  • Don’t forget your external USB and FireWire drives, too! I deleted over 500 GB of redundant data from four external drives with a total capacity of just 1.3 TB!

Like any computer, Macs have to be periodically cleaned up. I’m keeping my eyes on the above areas using Disk Inventory X. What works for you?

You might also want to read these other posts...

  • Electric Car Over the Internet: My Experience Buying…
  • Ranting and Raving About the 2018 iPad Pro
  • Introducing Rabbit: I Bought a Cloud!
  • Liberate Wi-Fi Smart Bulbs and Switches with Tasmota!
  • GPS Time Rollover Failures Keep Happening (But…

Filed Under: Apple, Personal, Terabyte home Tagged With: Apple, capacity, clean, data management, disk drive, Disk Inventory X, featured, iPhone, iPhoto, IShowU HD, iTunes, MacBook Pro, storage utilization, utilization

Primary Sidebar

The work of the information officer [should be] regarded as the natural dynamic extension of that of the librarian.

Douglas John Foskett

Subscribe via Email

Subscribe via email and you will receive my latest blog posts in your inbox. No ads or spam, just the same great content you find on my site!
 New posts (daily)
 Where's Stephen? (weekly)

Download My Book


Download my free e-book:
Essential Enterprise Storage Concepts!

Recent Posts

Electric Car Over the Internet: My Experience Buying From Vroom

November 28, 2020

Powering Rabbits: The Mean Well LRS-350-12 Power Supply

October 18, 2020

Tortoise or Hare? Nvidia Jetson TK1

September 22, 2020

Running Rabbits: More About My Cloud NUCs

September 21, 2020

Introducing Rabbit: I Bought a Cloud!

September 10, 2020

Remove ROM To Use LSI SAS Cards in HPE Servers

August 23, 2020

Test Your Wi-Fi with iPerf for iOS

July 9, 2020

Liberate Wi-Fi Smart Bulbs and Switches with Tasmota!

May 29, 2020

What You See and What You Get When You Follow Me

May 28, 2019

GPS Time Rollover Failures Keep Happening (But They’re Almost Done)

April 6, 2019

Symbolic Links

    Featured Posts

    Virtual Machine Mobility: Of What, and to Where and in What State?

    January 16, 2012

    Marketers: Fudging the Meaning of Buzzwords Matters (To You!)

    December 2, 2015

    Here’s Something Your Raspberry Pi Can’t Do: Gigabit Ethernet and SATA in the Olimex A20-OLinuXIno-LIME2

    May 25, 2016

    The Rack Endgame: A New Storage Architecture For the Data Center

    September 3, 2014

    What’s the Deal with Containers?

    October 21, 2016

    Free as in Coffee – Thoughts on the State of OpenStack

    May 2, 2016

    My Advice For New Business Travelers: Get The Credit Cards!

    March 20, 2014

    Scaling Storage At The Client

    November 25, 2013

    A Fairy Tale of Two Storage Protocols

    September 23, 2014

    Download My Free E-Book, “Essential Enterprise Storage Concepts”!

    April 4, 2017

    Copyright © 2021 · Log in