Emptying the Trash, Undo Sweep and history in Gigabroom
Get space back by emptying the Trash in Gigabroom, put swept files back with Undo Sweep (⌘Z) or Put Back, and see why freed space can be lower than expected.
Updated 8 min read
On this page
This page explains how to get disk space back after a cleanup, how to bring files back with Undo Sweep or Put Back, and how to read Gigabroom's cleanup log.
In short, sweeping moves files to the Trash and frees nothing yet. To get the space back, choose File ▸ Empty Trash… (⇧⌘⌫). To bring back the last sweep before you do that, press ⌘Z or choose Edit ▸ Undo Sweep.
Why space returns only when the Trash is emptied
Every cleaner in Gigabroom moves items to the Trash. None of them delete files directly. This has three effects:
- After a sweep, the files still use the same disk space. They are now in the Trash.
- You can put them back until the Trash is emptied.
- The space comes back only when the Trash is emptied, either in Gigabroom or from the Dock.
After each sweep, a banner reads "Moved N items to the Trash · X will be freed when you empty it". It has four buttons:
| Button | What it does |
|---|---|
| Undo | Puts these items back where they were (same as ⌘Z) |
| Show in Trash | Shows the moved items in the Trash |
| Empty Trash… | Opens the Empty Trash confirmation described below |
| View Log | Opens the log for this sweep |
If some items couldn't be moved, the banner says "N couldn't be moved…" and lists them. It stays until you dismiss it. If you stopped a sweep partway, it shows "N not moved (cancelled)".
For the full removal model (confirmations, re-checks, protected locations), see How Gigabroom removes files safely.
Empty the Trash across every volume
Before you start
Gigabroom needs Full Disk Access to empty your home Trash (~/.Trash). Without it, Gigabroom can't see inside the home Trash and shows: "Gigabroom can't see inside the Trash without Full Disk Access. Grant it in System Settings, or empty the Trash from the Dock." To grant access, see Full Disk Access and other permissions.
Steps
- Choose File ▸ Empty Trash…, or press ⇧⌘⌫ (Shift-Command-Delete). You can also click Empty Trash… on the Trash row in Quick Clean or on the sweep banner.
- Read the confirmation, "Permanently delete N items (X)?". If several volumes have items in their Trash, the dialog shows one line per volume.
- Click Empty Trash.
Gigabroom shows "Deleting…" while it works. Click Stop to halt it.
What gets deleted
- Gigabroom empties your home Trash (
~/.Trash) and your Trash on other mounted volumes (/Volumes/<name>/.Trashes/<your user id>). - Only items that were in the Trash when you confirmed are deleted. Anything added afterwards stays in the Trash.
- This is permanent. The dialog says "This can't be undone." Emptying the Trash also clears the Undo Sweep list.
- Without Full Disk Access, the dialog adds: "Your home Trash isn't included: Gigabroom needs Full Disk Access to see inside it."
- If there is nothing to delete, you see "The Trash is already empty."
Empty Trash is one of only three permanent actions in Gigabroom. The other two are Thin Snapshots… and pruning or clearing Gigabroom's own history files.
Measured freed space and the local snapshot caveat
After emptying, Gigabroom measures the actual change in free space on disk and reports that number instead of the size it expected to free: "Emptied the Trash · X freed". The log shows the same figure as "Measured on disk: X freed".
If the measured number is much lower than expected, Gigabroom adds: "macOS may keep a copy in a local snapshot for a while; see System Data."
Local Time Machine snapshots can still hold the blocks of files you deleted, so that space stays in use until macOS removes those snapshots. APFS clones are a second cause. Copies that share blocks with another file free little when deleted. On the Disk Map, the tooltip shows "frees ≈ X" for these, and the status bar shows "X shared with clones".
Free the space held by snapshots
- Open System Data in the sidebar (⌘8).
- Under LOCAL SNAPSHOTS, check whether any snapshots are listed.
- Click Thin Snapshots….
- Choose Free About 5 GB or Free About 20 GB.
macOS deletes local snapshots until about that much space is free. They don't go to the Trash and can't be restored. Your Time Machine backup disk isn't touched.
Limits:
- APFS doesn't report snapshot sizes, so Gigabroom can't show how much each one holds.
- Thinning runs at the lowest urgency, so macOS may remove fewer snapshots than are listed.
- Thinning may need an administrator account. If it fails, you see "tmutil couldn't thin snapshots: …".
If you leave them alone, macOS removes local snapshots on its own over time. More detail is in Understanding System Data, purgeable space and snapshots.
Undo Sweep with ⌘Z
To put back the last sweep, choose Edit ▸ Undo Sweep or press ⌘Z (Command-Z). You can also click Undo on the sweep banner. Gigabroom keeps your last 20 sweeps, so pressing it again undoes the sweep before that.
If your cursor is in a text field, such as a search field, ⌘Z undoes your typing instead. Click outside the field first, or use the Edit menu.


What happens when items come back
- Items return to where they were.
- Nothing is overwritten. If a file with the same name already exists there, the restored item is renamed, for example
Report (restored).pdf. - Missing items are reported. If an item is no longer in the Trash (for example, because you emptied the Trash from the Dock), it is reported as "Already deleted".
- A banner reports the result, such as "Put back N items" or "Put back 2 of 3 items · 1 already deleted". Other failures appear as "N couldn't be put back…".
- The map is marked stale. After a put-back, the Disk Map offers Rescan so its sizes are current again.
Items moved by Finder
Some removals go through Finder because they need an administrator password: App Store or installer apps, and system-wide leftovers in /Library. For these:
- Root-owned apps: Undo puts back the app itself.
- System-wide leftovers: Gigabroom has no Trash location recorded for these, so it can't undo them. Use Put Back in Finder's Trash instead.
How long undo lasts in a session
| Situation | Can you use ⌘Z? |
|---|---|
| One of your last 20 sweeps, Gigabroom still open | Yes |
| More than 20 sweeps ago | No. Use Put Back in Settings ▸ History |
| You quit Gigabroom since the sweep | No. The undo list is kept in memory only. Use Put Back. |
| You emptied the Trash since the sweep | No. The files are permanently deleted |
Settings ▸ History doesn't have the 20-sweep or quit limit. It can put back items from any recorded cleanup in the last 90 days, as long as they are still in the Trash.
Put Back from Settings ▸ History
Use this after you've quit Gigabroom, or for an older cleanup.
- Make sure the main Gigabroom window is open. Put Back needs it.
- Open Settings (⌘,) and click the History tab.
- Find the cleanup. Records are grouped by day (Today, Yesterday and so on).
- Click Put Back, or click View Log and use Put Back in the log sheet.
Put Back only works for items still in the Trash. Once the Trash has been emptied, Gigabroom can't bring them back.
Read the cleanup log
Gigabroom writes one record for each of these actions, including ones you stop partway:
- Sweeps
- Finder uninstalls
- Empty Trash
- Snapshot thinning
Records are saved in ~/Library/Application Support/Gigabroom/Cleanup History/.
The top of the History tab shows a lifetime line, such as "X moved to the Trash · Y freed · since <date>", or "Nothing cleaned yet" if you haven't cleaned anything. When there are no records, the list says "No cleanups in the last 90 days".
Click View Log on a record to see every item with its path, size, Trash location, status and, where relevant, a reason:
| Status | Meaning |
|---|---|
| Moved to the Trash | Swept. Can still be put back while it's in the Trash |
| Deleted | Permanently removed, for example by Empty Trash |
| Skipped | Not moved. The reason says why, for example "changed since it was listed", "<App> is open" or "Not attempted: stopped before reaching it" |
| Failed | The move or deletion didn't work |
| Put Back | Restored by Undo Sweep or Put Back |
Each item has Reveal in Finder and Copy Path. Empty Trash records also show "Measured on disk: X freed". Click Done to close the log.


Clear the cleanup history
Gigabroom removes records older than 90 days when it launches. To remove everything now:
- Open Settings ▸ History.
- Click Clear History….
- Confirm the "Clear cleanup history?" dialog.
The log and the lifetime total are removed. Items in the Trash stay there, but without their records you can't put them back from Settings ▸ History. You can still drag them out of the Trash in Finder.
This is separate from Settings ▸ General ▸ Scan history ▸ Clear History…, which deletes the saved folder sizes that What Grew compares, not your cleanup log.
Troubleshooting
Gigabroom says it can't see inside the Trash, or the home Trash isn't included. Grant Gigabroom Full Disk Access in System Settings, or empty the Trash from the Dock.
"Gigabroom is still working on the Trash. Try again when it's done." An earlier Trash operation is still running. Wait for its progress overlay to finish, or click Stop.
Freed space is far below what was in the Trash. Local snapshots or APFS clones are the usual cause. Open System Data (⌘8) and thin snapshots if needed.
⌘Z doesn't undo the sweep. If the cursor is in a text field, ⌘Z undoes typing. Click elsewhere or use Edit ▸ Undo Sweep. If you quit Gigabroom or emptied the Trash since the sweep, the undo list is empty. Use Settings ▸ History ▸ Put Back for items still in the Trash.
Put Back is unavailable or reports "Already deleted". Put Back needs the main window, so open it and try again. Items reported as "Already deleted" are no longer in the Trash, and Gigabroom can't recover them.
A restored file has "(restored)" in its name. A file with the same name already existed in that location, so Gigabroom kept both. Compare the two and rename or remove one.