Skip to content

mxr label

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

Apply a label to a message

mxr label [OPTIONS] <NAME> [MESSAGE_ID]...
FlagDescription
<NAME>Label name
[MESSAGE_ID]… Message ID(s). If omitted, reads IDs from stdin when stdin is piped
FlagDescription
--search <SEARCH>
--yes
--dry-run
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint help

Apply a label/folder to messages, including piped IDs from search.

Terminal window
mxr label receipts MESSAGE_ID
mxr search 'from:billing' --format ids | mxr label receipts --yes