The Trash
A pane can list what is in the Trash: everything in it, from every disk, in one list, each row saying which folder it came from.
| Key | Action |
|---|---|
| Trash in the left pane | Trash in the left pane |
| Trash in the right pane | Trash in the right pane |
| F5 | Put back |
| F8 | Delete for good |
| Empty Trash… | Empty Trash… |
Getting there
- Trash is a row of the places list, under ⌥R, and under Show here in each side’s menu of the menu bar: Trash in the left pane, Trash in the right pane.
- Typing the Trash’s own folder in Go to folder —
~/.Trash, or a disk’s.Trashesfolder for your account — lands in this pane too, and so does going back up out of a folder in it.
What a row says
| Column | What it holds |
|---|---|
| Name | The name the item has in the Trash. macOS adds a time to it when two things of one name are in there |
| From | The folder it came from, or unknown — with the disk’s name when it is on another disk |
| Size, Date | As in any pane. A folder’s size is found with Compute size |
- The line under the list gives where it was in full, with the name it had there. A path too long for the line loses the name first, which the row already shows, and then its middle, so the start and the folder it was in are always there.
- The info pane and Get Info say it too, with the whole folder and without the column’s narrow room: Came from (or unknown), Was named where macOS changed the name in the Trash, and Trash on, the disk whose Trash holds it. When it was thrown away is not recorded anywhere this application reads, so it is not shown.
- Where it came from is read from the note macOS keeps beside the items, and from what this application put in the Trash itself since it was opened. It is only ever read. A note that is missing or does not read as expected leaves the origin unknown — it is never guessed.
- macOS writes its note a moment after an item arrives, so a row can say unknown for a second or two and then fill in.
- Something moved into the Trash’s folder by hand, by a command in a terminal say, has no note.
Putting something back
F5 moves the marked rows, or the cursor’s, back where they came from. It asks first, naming the folder. For more than one row it lists every folder and what goes to each, in a list you can scroll — read it before agreeing, since the note it is read from can be out of date.
- An item goes back under the name it had, not the one the Trash gave it.
- A folder that has gone since is made again, and the question says so.
- If something there has taken the name, the conflict question of any move comes up. Nothing is renamed to fit.
- An item with no known origin goes to the folder the other pane is in, and the question says that instead. With no folder in the other pane it stays where it is.
- ⌘E and ⇧⌘E, also in the row’s menu, go to the folder a row came from without moving anything.
Other keys on a row
- Enter goes into a trashed folder, which is then a folder like any other. On a file it does nothing: a trashed file is looked at with F3, never opened in its application.
- A trashed link to a folder is shown as a link and is not gone into: what it points at was never in the Trash.
- The row’s menu, ⌘Enter, lists the same things and no others: nothing in it opens a trashed file in its application.
- F6 moves rows to the other pane’s folder, on any disk. To copy something out, go into its folder or put it on the clipboard with ⌘C.
- ⌘Y, ⌘I and ⌥⌘R work as they do on any file.
Deleting for good
- F8 removes the marked rows, or the cursor’s, for good. It asks first, as deleting permanently does anywhere: it opens on Cancel, and more than one item or a folder with things in it needs the word delete typed.
- Inside a trashed folder, F8 asks the same question, since there is no Trash to send something to from there. Something reached through a link in there is not in the Trash, and F8 on it is the ordinary delete.
- Empty Trash… in the Commands menu (Empty Trash…) removes everything, on every disk. It says how many items there are and what they come to, and asks as any delete for good does: the word delete typed for more than one item or a folder with things in it, and otherwise it opens on Cancel.
- A disk whose Trash does not answer in a few seconds, or cannot be read, is left out, of the list and of emptying, and named on the line under the list.
Full Disk Access
macOS keeps the Trash from applications that have not been given Full Disk Access. Without it, going to the Trash stops at a question instead, and the pane stays where it was:
| Button | What it does |
|---|---|
| Open System Settings | Opens Privacy & Security at Full Disk Access, where you switch the application on |
| Open Trash in Finder | Shows the Trash in Finder instead |
| Try again | Looks again. Access just given can need the application quit and reopened first |
| Cancel | Leaves the pane where it was |