Skip to content

mxr sweep

Generated from mxr sweep --help. Edit the clap definitions in crates/daemon/src/cli/ and re-run npm run build in site/ to regenerate.

Archive everything unpinned in Reading or Paper trail, or in one sender’s bundle there. Preview with –dry-run, then archive with –yes; mxr undo reverses it

mxr sweep [OPTIONS] <PLACE>
Flag Description
<PLACE> [possible values: reading, paper-trail]
Flag Description
--sender <SENDER> Only this sender’s bundle
--account <ACCOUNT> Limit to one account; the default covers every account
--dry-run Show what would be archived without changing anything
--yes Archive without asking
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Archive everything unpinned in Reading or Paper trail, or one sender’s bundle there. Preview first; the real sweep archives only what the preview listed.

Terminal window
mxr sweep paper-trail --dry-run
mxr sweep paper-trail --sender receipts@shop.example --yes
mxr undo MUTATION_ID