Skip to content

ordr preview

Alias for ordr clean --dry-run. Shows the full execution plan without touching the filesystem.

Terminal window
ordr preview [directory] [flags]

Flags

FlagShortDescription
--recursive-rRecurse into subdirectories
--rule <name>Preview only the rule with this name

Example

Terminal window
ordr preview ~/Desktop
Preview — 3 file(s) would be moved
~/Desktop/invoice.pdf → ~/Desktop/documents/invoice.pdf [PDFs to documents]
~/Desktop/photo.png → ~/Desktop/images/photo.png [Images]
~/Desktop/backup.zip → ~/Desktop/archives/backup.zip [Archives]
12 file(s) skipped (no matching rule)
Run without --dry-run to apply.

No confirmation prompt is shown. Nothing is moved.