Documentation: all pages

How deleting works

FreeStrata ProStrata 1.0.45Updated

Strata has one way to remove anything: macOS's own move to the Trash. Nothing is ever erased: Put Back returns what you removed in one click, from the notice right after or from Recently Removed, which holds on to a removal for 90 days, or for as long as anything it moved is still in the Trash. Before anything moves, a sheet lists every item, and anything protected is shown with the reason it will not move.

Strata's confirmation sheet: move 3 items to the Trash, 578 MB, listing three disk images, with Mail.app skipped because it is part of macOS

The Trash, and only the Trash

Every room that removes things, from the Space Map to Optimize, moves them with macOS's own move to the Trash. If the move fails, the item stays where it was: Strata never falls back to deleting it. On a drive that has no Trash, such as some network shares, the move fails and says why.

Strata never empties the Trash. That is the one step that cannot be undone, so it is left to you, in Finder. Wherever the Trash itself appears in Strata, it offers Open Trash instead of removing it. When 100 MB or more is waiting there, the Overview says how much, since it still takes space until it is emptied.

The confirmation sheet

Nothing goes to the Trash without it, but for one thing: from 1.0.41, Undo in the Space Map's file browser takes back a copy or a new folder by moving it to the Trash at once, with no notice, and Recently Removed records it; Redo puts it back. In iCloud Drive it stays where it is.

The sheet lists every item with its path and size, the total going to the Trash, and Move to Trash (Uninstall in the Uninstaller). Return confirms and Esc cancels. During the trial it also says how much of the trial's 40 GB is left to move; see the trial.

The size in the title starts as the scan's. While the sheet is open, Strata reads what emptying the Trash would really free, and says Checking what this frees… under the total until it knows. An APFS clone or a hard link shares its storage with files that stay, so removing it frees less than its size. When some of what you chose does, the title gives what it would free, and a line says why, such as One of these shares its storage with files that stay, so emptying the Trash frees 640 MB, not 1.2 GB. When some of a file's storage is held by a copy or a Time Machine snapshot instead, the line says so, and what emptying the Trash frees at first. When Strata could not read some of it, or there are too many files to check in two seconds, or more than 100,000, the figure begins with about and the line says it is an estimate. Otherwise the title keeps the scan's figure, as it does on a network drive. The trial counts what moves, not what it frees.

Items that will not move are listed under Skipped, each with its reason, instead of vanishing from the list. The guard that decides is asked twice: once when the sheet is built, and again for each item just before it moves.

What Strata will not touch

WhatWhy, as Strata puts it
The top of any diskThe top of a disk.
Strata itselfThis app.
Strata's own records, in ~/Library/Application Support/StrataThe list Recently Removed puts things back from, and the snapshots of earlier scans. Strata keeps them for as long as it is installed.
Strata's own settings, in ~/Library/Preferences/com.stratamaccleaner.strata.plistStrata's own settings, with its licence key. Strata keeps them for as long as it is installed.
The Trash and what is in itAlready in the Trash. Empty the Trash in Finder to remove it for good.
Your keychain, and the Mac's own in /Library/KeychainsDeleting it would lock you out of saved passwords.
iCloud Drive and other cloud foldersDeleting it here would remove it from every device. From 1.0.45, when it is downloaded on this Mac, the sheet offers Remove Download instead (below).
Your keys and sign-ins, from 1.0.45: ~/.ssh, ~/.gnupg, ~/.aws and ~/.kube, and everything in themKeys and sign-ins that SSH, GPG and cloud tools read from here. They take almost no space, and without them SSH, Git signing and cloud logins stop working. A lost private key cannot be recovered.
Anything in another account's home folderStrata leaves other people's files alone: to tidy it, log in to that account.
/System, /bin, /sbin, /usr (except /usr/local), /Library/Apple, the Mac's settings in /private/etc, /private/var/folders, where running apps keep their temporary files and caches, macOS's folders right in /Library/Logs and /Library/Caches, such as DiagnosticReports (the crash reports in it can go), Apple's audio drivers and plug-ins in /Library/Audio, and macOS's other own foldersPart of macOS. Removing it would break the system.
Standard folders: Applications, your home folder, Desktop, Documents, Downloads, Library, Movies, Music, Pictures, PublicIts contents can be removed, but the folder itself stays.
Anything inside an app, a library or another packageTaking it out would break the whole. Move the app itself, or tidy the library in the app that keeps it.
Something gone or changed since the scanNo longer on disk, or a file is now a folder: scan again.
Something only an administrator can move, while the administrator helper is off or leaves it to FinderOnly an administrator can move this: it belongs to another user or to the system. Allow Strata's administrator helper in Settings, under Permissions, or show it in Finder and press Command-Delete there.
A file of a model Ollama keeps, found in Large Files, Search or the mapPart of a model Ollama keeps: remove the model with ollama rm, or in Msty, as the AI Data Sweeper shows.
An app with a system extensionmacOS removes the extension only when Finder moves the app; moved from here, it would keep running. Show the app in Finder and press Command-Delete there.

From 1.0.45, with Strata Pro or the trial, when the sheet skips something in iCloud Drive or a cloud folder whose download takes space on this Mac, it says what removing the download frees, and offers Remove Download instead: a tick box under the list when there is something else to move, or the sheet's own button when there is not. Remove Download asks macOS to remove the copy on this Mac and keeps the file in the cloud and in Finder; it is not a move to the Trash, and nothing is deleted. Cloud Files has the details. The Uninstaller's and Unused Apps' sheets do not offer it.

Putting things back

After anything moves, a notice says how many items went and how much space they take, with Put Back. During the trial it also says how much of the trial's 40 GB is left to move. The space comes back to the disk only when the Trash is emptied, and the notice says so. It stays ten seconds, and resting the pointer on it stops the clock. Put Back returns that notice's batch to where it was, even if you have removed something else since, and while the notice is on screen, Command Z (Edit, Undo Move to Trash) does the same; with two notices on screen it puts back the newer first, then the other. When nothing could move, the notice says why instead. The link under the message, Put back later from Recently Removed, opens Recently Removed. If Strata could not write the removal down, as on a full disk, the notice says so and stays until you close it, with no link: its Put Back is then the way back.

Strata's notice after a removal: Moved 7 items to the Trash, 5.7 GB in the Trash, with Put Back, and a link to Recently Removed
Put Back undoes that removal in one click; the link opens Recently Removed. Demonstration data.

An app moved to the Trash, from any room, leaves the Dock, and from 1.0.38 so do the apps inside a folder that is moved; Put Back and Undo bring their icons back.

After the notice has gone, open Recently Removed, under Tools in the sidebar. It lists every removal of the last 90 days, and older ones while anything they moved is still in the Trash or on a disk that is not connected, up to the newest 500, newest first, each with the room it came from, and every item with where it came from and where it is now. Put Back returns a whole removal or one item while it is still in the Trash, after Strata has quit or updated too. The room is free, so it works after a trial as well. Copy List gives a removal as text. Below the list, the room says how much the removals listed moved to the Trash and how much of it is still there. What any room moves leaves the Space Map, Search, Large Files, Hidden Files and Duplicates without a new scan, and what any Put Back returns is counted there again.

Strata's Recently Removed room with demonstration data: a Junk Files removal of 7 items, 5.7 GB, each with the folder it came from, six that can be put back and Google's cache, whose place is taken; below, Earlier removals and the room's total
Every removal, with where each item came from and where it is now, then the earlier removals, in Strata 1.0.33. Demonstration data.

An item says Its place is taken when something is at its old place again, often a cache its app has made anew, and Its folder is gone when the folder it came from no longer exists; Put Back leaves both in the Trash. Not in the Trash means it was emptied from the Trash, dragged out of it, or is on a disk that is not connected.

Finder's own Put Back may be offered too, but do not count on it for what Strata moved: macOS does not always keep the record Finder needs for what an app, rather than Finder, moved to the Trash.

Strata's Put Back never overwrites anything. It cannot return an item if the Trash has been emptied, if something else now sits at its old place, or if the folder it came from is gone; restore those by hand from the Trash, or from a backup.

Earlier removals

Under the list, Earlier removals covers what is in your Trash that Strata has no record of: removed with Strata 1.0.29 or earlier, or by another app. Look in the Trash matches each folder there with folders of the same name in Strata's scan history, which keeps the last 20 scans of each folder you scan, with every folder of 10 MB or more in them. It looks at each scanned place's last scan before the folder went to the Trash. Where those scans saw a folder of that name in one place only, the row says it probably came from there and gives the size the scan saw and its size now, and Put Back returns it, never replacing anything. That place is not offered when one of Strata's recorded removals left it, since that removal can put its own back, nor when a later scan that covers it saw nothing there. Where they saw several places, the row lists them and offers only Reveal: folders such as node_modules or caches are made again, so which one is there now proves nothing. Files, small folders, folders no earlier scan saw and folders far from the size it saw stay unmatched: drag those out of the Trash in Finder. Looking in the Trash needs Full Disk Access, the scan history is kept with Strata Pro and the trial, and putting an earlier removal back does not add to what the trial can move.

Items only an administrator can move

Strata never sees your password. What only an administrator can move, such as an app an installer put in Applications, goes one of two ways:

  • With Strata's administrator helper, from 1.0.35, allowed once in Settings under Permissions: it goes to the Trash with everything else, after the same confirmation sheet, and Put Back, in the notice or Recently Removed, brings it back while the helper is on. The helper moves only to your own Trash and never deletes anything; Permissions says what it will and will not move.
  • Without it, the confirmation sheet offers Show in Finder, which selects it in a Finder window. Press Command Delete there, and Finder asks for your password or Touch ID and moves it to the Trash.

If macOS will not let Strata put back something that belongs to the system, Strata says Only an administrator can put this back. It offers Finder: drag the item out of the Trash there, and Finder asks for an administrator's name and password. While the administrator helper is off, or waiting for your approval, it also suggests allowing the helper in Settings, under Permissions; once it is on, Put Back works from Strata.

If Finder says it will delete something immediately, macOS will not keep that item in the Trash, and it cannot be put back. You can cancel there. It is what Finder says, for example, about items on a network drive with no Trash of its own.

The ideas behind all this, and which deletions on a Mac genuinely cannot be undone, are in How to delete files on a Mac without regretting it.