Command reference
ed shelf rename-apply
Apply the exact saved preview after checking the files again.
ed shelf rename-apply <plan-uuid> --yes [--json]The UUID comes from rename or rename-undo. --yes is required. Changed or
missing source files, occupied destinations, and blocked previews are rejected.
The command never overwrites an existing destination.
All changed files first move into a private staging directory. They then receive their final names. This permits swaps and case-only renames. A failure before the index commits triggers rollback. If rollback is blocked, every source is retained at its recorded destination or staging path and the error identifies recovery storage. The next shelf mutation or normal read attempts recovery before other work. An interrupted committed rename finishes its history record on recovery.
JSON has the same shape as a preview, with state: "applied". The record persists
under Shelf's local storage. The command changes parked copies and their index.
It does not rename the external files used to populate Shelf.