lei-convert(1)

LEI-CONVERT(1) public-inbox user manual LEI-CONVERT(1)

NAME

lei-convert - one-time conversion from URL or filesystem to another format

SYNOPSIS

lei convert [OPTIONS] LOCATION

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

DESCRIPTION

Convert messages to another format. "LOCATION" is a source of messages: a directory (Maildir), a file, or a URL ("imap://", "imaps://", "nntp://", or "nntps://"). URLs requiring authentication must use netrc(5) and/or 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: "eml", "mboxrd", "mboxcl2", "mboxcl", or "mboxo".

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
--lock METHOD
--no-kw
--no-import-remote
--torsocks=auto|no|yes
--no-torsocks
--proxy=PROTO://HOST[:PORT]

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://hjrcffqmbrq6wope.onion/meta/>

COPYRIGHT

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

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

SEE ALSO

lei-add-external(1)

1993-10-02 public-inbox.git