Skip to content

mxr trash

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

Move message to trash

mxr trash [OPTIONS] [MESSAGE_ID]...
Flag Description
[MESSAGE_ID]
Flag Description
--search <SEARCH>
--account <ACCOUNT>
--yes
--dry-run
--async Run as a daemon-side background job and poll with mxr jobs
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Move mail to trash after previewing the target set.

Terminal window
mxr trash MESSAGE_ID --dry-run
mxr trash --search 'from:spam@example.com' --yes