# ed shelf rename-undo

> ed shelf rename-undo in the Edith ed command line reference. Preview the reverse of a completed rename.

- Canonical URL: https://getedith.pro/docs/cli/shelf/rename-undo
- Updated: 2026-12-02

Preview the reverse of a completed rename.

```sh
ed shelf rename-undo <record-uuid> [--json]
```

Use a UUID from `rename-history`. Each file must still have its expected name,
identity, size, and modification time. Missing or changed files block undo.
Occupied original names appear as collisions in the reverse preview. The
command saves a new plan without moving files.

Inspect the new plan and apply its UUID with `rename-apply --yes`. A completed
undo marks its original record `undone` and retains its own applied record.
An undo can itself be reversed while its files remain unchanged.

- [`ed shelf`](https://getedith.pro/docs/cli/shelf)
- [`ed shelf rename-apply`](https://getedith.pro/docs/cli/shelf/rename-apply)
- [CLI index](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
