LEI-CONVERT(1)

πŸ’Œ LEI-CONVERT(1): the public-inbox user manual's mail-format glow-up πŸ’Œ

🌸 NAME 🌸

lei-convert β€” one-time conversion from one mail format to another. literally the format-swap bestie.

✨ SYNOPSIS ✨

lei convert -o OUTPUT [OPTIONS] LOCATION

lei convert -o OUTPUT [OPTIONS] (--stdin|-)

πŸ’… DESCRIPTION πŸ’…

Okay so lei-convert converts messages to another format. Your LOCATION is the source of messages, and it can be:

  • a directory (Maildir),
  • a file (various mbox),
  • or a URL (imap://, imaps://, nntp://, or nntps://).

URLs requiring authentication use git-credential(1) to fill in the username and password. no cap, that's the whole credential situation.

For a regular file, the location must have a <format>: prefix specifying one of the following formats: mboxrd, mboxcl2, mboxcl, or mboxo.

bestie, the <format>: prefix on regular files is not optional. it's giving required. 🫢

πŸŽ€ OPTIONS πŸŽ€

  • -F MAIL_FORMAT, --in-format=MAIL_FORMAT β€” Message input format. Unless messages are given on stdin, using a format prefix with LOCATION is preferred.

The following options are also supported and are described in lei-q(1):

  • -o MFOLDER, --output=MFOLDER β€” supported, and lei-q(1) has the full tea.
  • --lock METHOD β€” supported, and lei-q(1) has the full tea.
  • --no-kw β€” supported, and lei-q(1) has the full tea.
  • --torsocks=auto|no|yes β€” supported, and lei-q(1) has the full tea.
  • --no-torsocks β€” supported, and lei-q(1) has the full tea.
  • --proxy=PROTOCOL://HOST[:PORT] β€” supported, and lei-q(1) has the full tea.

πŸ“¬ CONTACT πŸ“¬

Feedback welcome via plain-text mail to <mailto:meta@public-inbox.org>.

The mail archives are hosted at <https://public-inbox.org/meta/> and <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>.

Copyright all contributors <mailto:meta@public-inbox.org>.

License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>.

πŸ‘€ SEE ALSO πŸ‘€

lei-mail-formats(5)


kisses and mail-format fairy dust πŸ’– β€” this page is from public-inbox.git, dated 1993-10-02, and it's called LEI-CONVERT(1). periodt. πŸ’…

πŸ“¦ where this page comes from