Big files that don't go away without a plan: snapshots, backups, hibernation and old installs
Deleting the big, obvious files does not always free the space. Some storage is held by the system on purpose, and some is held by features you turned on years ago. These are the ones that need a small plan: a backup first, one command or setting, and then a check.
The list
| File or feature | Why it stays | How to free it safely |
|---|---|---|
| Time Machine local snapshots (Mac) | The Mac keeps hourly snapshots of recent changes. Deleted files still count until the snapshot expires (about 24 hours) or space is needed. | tmutil listlocalsnapshots /; tmutil deletelocalsnapshots <date> only if you must. Normally leave them. |
| iPhone and iPad backups | Every device update makes a new full backup | Finder, your device, Manage Backups (or ~/Library/Application Support/MobileSync/Backup). Keep the newest one. |
| Xcode simulators and device support | Every iOS version you ever tested stays | xcrun simctl delete unavailable; remove old runtimes in Xcode settings |
Windows.old | Kept so you can roll back an upgrade | Remove with Disk Cleanup or Settings, Storage, Temporary files, once you know the upgrade is fine |
hiberfil.sys | The hibernation image, around 40% of RAM | powercfg /h off as admin if you never hibernate; this also turns off Fast Startup |
| Restore points and shadow copies | System Protection keeps them to roll back | System Protection settings, Configure, set a size limit or delete old ones |
| Windows Update download folder | Failed updates leave their files | Stop the Windows Update service, empty SoftwareDistribution\Download, start it again |
| WSL and Docker virtual disks | They grow and never shrink by themselves | See the WSL article |
| Database binary logs and WAL | Kept for replication and recovery | Set expiry (binlog_expire_logs_seconds in MySQL); never rm a WAL file by hand in PostgreSQL |
| systemd journal and old logs (Linux) | Logs grow until limited | journalctl --vacuum-size=500M and set SystemMaxUse in journald.conf |
| Old kernels (Linux) | The last few are kept for fallback | sudo apt autoremove; keep the running one and one older |
| Mail attachments and downloads inside mail apps | Mail keeps its own copy of every attachment | Remove attachments in the mail app, not in its folder |
| iCloud and OneDrive downloaded copies | Files kept on the device even when synced | On a Mac, Remove Download on a file; in Windows, Free up space in OneDrive |
The plan, in four steps
- Measure. Find which of these is big on your machine, in the system's storage screen or with a folder-size tool.
- Back up anything that is the only copy (a device backup, a distro, a database).
- Use the tool the system gives you, not rm or Delete.
- Check the free space after, and again a day later. Some of it is only released after a restart.
If free space does not change after you delete something, a snapshot, a restore point or a sync copy is probably still holding it. That is the clue to look at this list.
Where Zofle fits. Zofle is a free disk cleanup and file finder for Mac and Windows. It shows what is filling a disk, folder by folder, lists developer caches, old build folders and leftovers with their size and date, lets you untick what you want to keep, and sends the rest to the Trash or Recycle Bin first so you can undo it.
Sources and method
- Apple Support: About Time Machine local snapshots; Manage your device backups.
- Microsoft Support: Disk Cleanup, Windows.old, System Protection;
powercfgdocumentation. - MySQL and PostgreSQL manuals on binary log expiry and WAL;
journald.confman page. - Paths and commands are from each tool's own documentation and can differ by version; run the 'find it' command on your own machine before deleting anything.
Zofle Pro news
People signing up now will get Zofle Pro, with more features, for free when we launch it.