ordr undo
Reverses the most recent ordr clean by moving all files back to their original locations.
ordr undo [flags]Every successful ordr clean is recorded in ~/.ordr/undo.json. ordr undo pops the most recent entry from this stack.
Flags
| Flag | Short | Description |
|---|---|---|
--list | Show what the last clean did, without undoing | |
--yes | -y | Skip confirmation prompt |
Examples
# See what would be undoneordr undo --list
# Undo with confirmation promptordr undo
# Undo immediately without confirmationordr undo --yesOutput
ordr undo --list Last clean — 3 move(s)
~/Desktop/documents/invoice.pdf → ~/Desktop/invoice.pdf ~/Desktop/images/photo.png → ~/Desktop/photo.png ~/Desktop/archives/backup.zip → ~/Desktop/backup.zip
Run 'ordr undo' to reverse these moves.