129 votes
Accepted

Silencing "Your disk is almost full" notification

The solution to disabling the "almost full" and "full" notification is to disable the daemon responsible for it: launchctl unload -w /System/Library/LaunchAgents/com.apple.diskspaced.plist or ...
malhal's user avatar
  • 2,072
61 votes
Accepted

How to thin your local Time Machine Snapshots on macOS High Sierra

Spoiler: I went from ~50 GBs free to ~277 GBs free, about 227 GBs difference, over the course of this answer. There's not a tonne of information from the basic tmutil function but you can call man ...
Joshua Pinter's user avatar
47 votes

Disk space not freed up after deleting files and emptying Trash

On Mojave 10.14.4 I was able to reclaim 50GB of space with: sh-3.2# tmutil listlocalsnapshots / com.apple.TimeMachine.2019-04-03-103122 sh-3.2# tmutil deletelocalsnapshots 2019-04-03-103122 Deleted ...
Stevan Markovic's user avatar
45 votes

A modern and faster alternative to Disk Inventory X

Starting with macOS Sierra, macOS comes with an built in app from Apple called Storage Management, which is a part of the System Information app. In different tabs it shows you the largest apps ...
Dr_Zaszuś's user avatar
44 votes

Silencing "Your disk is almost full" notification

macOS Mojave See: How to access a launch daemon's values/ system defaults value macOS Sierra On Sierra this command didn't work for me: launchctl unload -w /System/Library/LaunchAgents/com....
kenorb's user avatar
  • 12.6k
33 votes

How do I quickly find large files and folders on my mac?

try du -sh * | grep -E "\dG" to get all files and folders of size 1G and above. (Output will only show once du is done) EDIT Bonus variant that includes hidden files: du -sh .[^.]* * | ...
Cpt. Senkfuss's user avatar
26 votes

High Sierra shows wrong disk usage for photos in information

I recently ran into this - on my 500GB SSD, my free space was only 5% where I expected more like 75%. I found an answer in a blog that worked for me: Apple state that they automatically remove local ...
Digital Trauma's user avatar
24 votes

How to clean up Docker for Mac containers

try: docker system prune -a https://docs.docker.com/engine/reference/commandline/system_prune/ Remove all unused containers, networks, images (both dangling and unreferenced), and optionally, ...
galusben's user avatar
  • 349
23 votes

Reduce size of the Xcode application

Perhaps a more elegant solution would to be use the command line tools instead of Xcode. You could delete Xcode entirely (or skip the install). Instead of downloading and installing Xcode - open the ...
bmike's user avatar
  • 232k
21 votes

Xcode free space requirement

You'll need about 20GB free to do the install when you consider the space needed for holding/swapping files with the .dmg during the install process. I saw this in the Apple developer forums: Have a ...
fsb's user avatar
  • 22.7k
18 votes
Accepted

Why is devfs full?

devfs is a special filesystem containing a representation of physical devices. The implementation of devfs doesn't maintain file system statistics, like space available (because you can't store ...
techraf's user avatar
  • 3,928
17 votes

How do I quickly find large files and folders on my mac?

You can use spotlight as well: mdfind 'kMDItemFSSize > 2000000000' Add or remove zeroes to get fewer or more files under the size limit, respectively.
bmike's user avatar
  • 232k
17 votes

Disk space not freed up after deleting files and emptying Trash

On High Sierra the command will be: sudo tmutil disable localsnapshot.
Balthier's user avatar
  • 291
17 votes
Accepted

What's the "Private" directory in OS X for?

/private has been around for a loooooong time. Every Mac has it. It is part of your Mac: the directory stores essential system files and caches, along with other databases that your system requires ...
perhapsmaybeharry's user avatar
14 votes
Accepted

Can I delete /Library/Updates on EI Capitan

Theoretically, there should only be updates in that folder until you actually run the updates, then they should be cleared - so my first suggestion would be to check the App Store app & run any ...
Tetsujin's user avatar
  • 113k
13 votes

How can I figure out what's slowly eating my drive space?

Find the Culprit File. Solution Among all the above Answers.. you could simply hit this command on the Terminal to find out the culprit file... This command finds all the individual files whose ...
Tarandeep Singh's user avatar
12 votes
Accepted

El Capitan /private/var/folders cache files consuming 30–40 GB

The answer is that yes, you are allowed to delete files from /private/var/folders/. The command sudo rm -r -P /private/var/folders/tr/* was able to work and no crashes came of it. Some errors were ...
LewdLime's user avatar
  • 361
12 votes
Accepted

MacOS Sierra - Cannot find what is using all disk space

Try sudo ncdu instead. As a normal admin or user you are not allowed to scan the content of certain folders (all indicated by an error while scanning and in the final listing by a dot - if a subfolder ...
klanomath's user avatar
  • 66k
12 votes

Something taking up 90GB of storage in MacOS Catalina 10.15 Beta

I cracked the code! Preface This seems to have worked fine for me, but there are no guarantees. DO NOT PROCEED WITHOUT A BACKUP OF YOUR DATA. Then again, you know that, you voluntarily installed a ...
Alexander's user avatar
  • 8,263
12 votes

How to disable Spotlight and mds_stores on Mac OS Catalina

My mds_stores, kernel_task, corespotlightd and other processes related to spotlight, have written and read over 10tb on my ssd in couple of days. After tried all solutions I could find on internet, I ...
Arthur Wang's user avatar
11 votes
Accepted

Why is my Final Cut Pro library file so bloated?

You are right to leave media in the original location to help save space. Beyond this setting, take a look at your Library's settings. Manage Storage Locations Final Cut Pro is likely creating proxy ...
Graham Miln's user avatar
  • 43.1k
11 votes

How to clean up Docker for Mac containers

Spotify have a useful docker image called docker-gc which will clean up unused images. As per the Github page for it, you can run it as a container itself: docker run --rm -v /var/run/docker.sock:/...
Burhan Ali's user avatar
11 votes

How to clean up Docker for Mac containers

Check the size with this command below: du -h -d 1 ~/Library/Containers/com.docker.docker You can easily clean up running: docker system prune -a Or restarting the default settings on top bar to ...
Rafael Corrêa Gomes's user avatar
11 votes

Silencing "Your disk is almost full" notification

I think this notification is a bug. I have 760GB free on my drive (a 1TB drive) and still get this same notification every morning since upgrading to Sierra. I enabled Optimize Storage (but not ...
Will Henderson's user avatar
10 votes

A modern and faster alternative to Disk Inventory X

Thanks to brew formulae, I'd recommend ncdu (https://formulae.brew.sh/formula/ncdu) for users who like a command line tool and baobab (https://formulae.brew.sh/formula/baobab) for users who like a ...
computingfreak's user avatar
10 votes

Large Library/Containers directory

Go to ~/Library/Containers/ and type du -h command. Now you will be more able to see which folder/file is taking most of the space in the system. My main culprit was Docker.
saran's user avatar
  • 201
10 votes

How is DaisyDisk so fast?

I'm the developer of DaisyDisk. I'd have to go into lengths to explain how we achieve this on the engineering side, but I can reassure you that the app doesn't make any "shortcuts" or "tricks". The ...
swa16's user avatar
  • 301
9 votes

High Sierra shows wrong disk usage for photos in information

Most likely the space is taken by Time Machine. It keeps making local snapshots when the persistent TM storage is not available. The local snapshots can pile up to as much as 80% of disk space. After ...
swa16's user avatar
  • 301
9 votes
Accepted

Is it possible to increase size of an APFS volume?

You can first increase the size of the disk image and in a second step the size of the container: Get the disk image limits: hdiutil resize -limits /path/to/disk_image Eject the disk image items: ...
klanomath's user avatar
  • 66k

Only top scored, non community-wiki answers of a minimum length are eligible