How to Find & Recover Missing Hard Drive Space

| TMO Quick Tip

Long time Mac Geek Gab listeners know that using OmniDiskSweeper is a fantastic (free!) way to find out what files are taking up all your precious hard drive or SSD space. OmniDiskSweeper scans the files and folders of your Mac’s hard drive and displays a list, in order of file size, of the contents of your drive.  This allows a user to easily find the largest files on a drive and is great for clearing up free space (such as when preparing to migrate to a smaller solid state drive). However, in Mac Geek Gab 355, listener Joe found that it doesn’t always show everything. Thankfully he also found a solution which he shared with us and we now share with you.

OmniDiskSweeper in user mode

OmniDiskSweeper run from the Applications folder.  It shows that the user’s Documents folder is the largest folder on the drive.  Note also the size of the Spotlight Database as 0 bytes.

When run normally, as above, Joe noted that OmniDiskSweeper only shows files that are visible to the user that ran it. Since few people ever run as a fully priviledged “root” user, this means you’re almost always going to miss something, including system-level files or files and folders belonging to other user accounts on that Mac.

To give OmniDiskSweeper full access to all files on your drive, you must run the application from the Terminal using the sudo command, which stands for “Super User Do” and gives access to all files on a user’s drive.  As with all sudo commands, triple-check the syntax before executing it (or simply copy/paste from here) as it is possible to cause irreversible damage to the OS and file system if the wrong command is entered.  Assuming you have OmniDiskSweeper installed in your main Applications folder, that command is: 

sudo /Applications/

Once an administrative password is entered, the application will launch and allow you to scan the drive for all files. Note below that the .Spotlight-V100 folder now shows over 800MB of content where before it appeared empty.

OmniDiskSweeper run as root

OmniDiskSweeper run as root using Terminal.  Compare the Spotlight Database size to the previous screenshot.  When run as root, the application can access and size this and other locations on the drive.

Thanks for the excellent tip, Joe!

Popular TMO Stories



Definitely a great tip. Thanks for this.

Granted, anyone going into Terminal should respect what it can do, as the article does point out. Still, for just a little more thoroughness, would anyone offer concrete input on which files are generally OK to trash, and which to make sure we diligently avoid trashing?


Do I need to do this terminal command once or every time I wanna
Use this app?


Do I need to do this everytine I wanna use this app or just once ?

Jim Tanous

Hi tweat11,

Yes, you’ll need to do this every time you want to run the application with root access.  Launching it via the Finder will default to user-level access and not root access.


Thank you! I just saved 965 GB out of a 1 TB hard disk thank to this tip raspberry

Eduardo Villela

you can do it also with “sudo open /Applications/”

Mark Withers

A very cool tip! Especially like the fact that it is free. Very generous of the developers to share such a good tool to use. Am looking at it now running in super user mode. smile

Log in to comment (TMO, Twitter or Facebook) or Register for a TMO account