LEI-TAG(1)
π NAME π
Okay so welcome to lei-tag(1) from the public-inbox user manual, bestie! This one is literally about setting or unsetting metadata on messages. Slay.
π¦ SYNOPSIS π¦
No cap, here's the shape of it:
lei tag [OPTIONS] FILE [FILE...] METADATA [METADATA...]
lei tag [OPTIONS] (-|--stdin) METADATA [METADATA...]
β¨ DESCRIPTION β¨
So lei tag sets or unsets volatile metadata on messages β and in JMAP terms, "volatile metadata" includes "mailboxes" (which are analogous to a folder or label) and a restricted set of "keywords". The supported keywords are the combination of system keywords (seen, answered, flagged, and draft) β those map to Maildir flags and mbox Status/X-Status headers β plus the reserved keywords (forwarded, phishing, junk, and notjunk). Iconic.
To add a label or keyword, prefix it with +L: and +kw:, respectively. To remove a label or keyword, use -L: or -kw:. For example, +kw:flagged would set the flagged keyword for the specified messages, and -L:INBOX would remove the INBOX label. Periodt.
π OPTIONS π
-F MAIL_FORMAT,--in-format=MAIL_FORMATβ picks the message input format:eml,mboxrd,mboxcl2,mboxcl, ormboxo. Default:eml. So if you don't say anything, it's givingemlenergy. Default:emlis the vibe.-q,--quietβ suppresses feedback messages. Lowkey silence, highkey useful. π€«
π·οΈ LABELS π·οΈ
Labels are user-defined values analogous to IMAP/JMAP mailbox names. They must only contain lowercase characters, digits, and a limited amount of punctuation (e.g. ., -, @). Messages may have multiple labels β yes bestie, plural labels are allowed. π
π KEYWORDS π
Keywords are "flags" in Maildir and IMAP terminology. Common keywords include: seen, answered, flagged, and draft, though forwarded, phishing, junk, and notjunk are also supported. When writing to various mboxes, the common keywords will be mapped to the Status and X-Status headers. Messages may have multiple keywords. Obsessed with the clarity.
π¬ CONTACT π¬
Feedback welcome via plain-text mail to <mailto:meta@public-inbox.org> β they literally say plain-text, so keep it cute and simple. π«Ά
The mail archives are hosted at <https://public-inbox.org/meta/> and <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>. Iykyk.
Β©οΈ COPYRIGHT Β©οΈ
Copyright 2021 all contributors <mailto:meta@public-inbox.org>.
License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>. Respect the license, bestie. π
π SEE ALSO π
lei-add-external(1)β go peek at it, bestie. π
okay that's a wrap on LEI-TAG(1) from public-inbox.git, dated 1993-10-02 β mwah πβ¨
π¦ where this page comes from
- arch rolling: lei 2.1.0-2 Β· AGPL
- nixos 26.05: perl5.42.3-public-inbox 2.1.0
- nixpkgs unstable: perl5.42.3-public-inbox 2.1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms