DOKK / manpages / debian 12 / lei / lei-convert.1.en
LEI-CONVERT(1) public-inbox user manual LEI-CONVERT(1)

lei-convert - one-time conversion from one mail format to another

lei convert -o OUTPUT [OPTIONS] LOCATION

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

Convert messages to another format. "LOCATION" is a source of messages: 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.

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

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).

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>

lei-mail-formats(5)

1993-10-02 public-inbox.git