# ed cleaner restore

> Preview restoration of a recorded Trash item. Apply it only with --yes.

- Canonical URL: https://getedith.pro/docs/cli/cleaner/restore
- Updated: 2026-12-02

Preview restoration of a recorded Trash item. Apply it only with `--yes`.

```sh
ed cleaner restore <receipt-id>
ed cleaner restore <receipt-id> --yes
```

Find identifiers with [`history`](https://getedith.pro/docs/cli/cleaner/history). The original parent folder must still exist, the item in Trash must be unchanged, and the destination must be unoccupied. Restoration uses an exclusive rename so an existing file cannot be overwritten. A successful restore removes its receipt.

If the folder moved, the Trash item changed, or the receipt expired, inspect the item in Finder.

[Back to Cleaner](https://getedith.pro/docs/cli/cleaner).

[All commands](https://getedith.pro/docs/cli).

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
