3 lei-convert - one-time conversion from URL or filesystem to another format
7 lei convert [OPTIONS] LOCATION
9 lei convert [OPTIONS] (--stdin|-)
13 Convert messages to another format. C<LOCATION> is a source of
14 messages: a directory (Maildir), a file, or a URL (C<imap://>,
15 C<imaps://>, C<nntp://>, or C<nntps://>). URLs requiring
16 authentication must use L<netrc(5)> and/or L<git-credential(1)> to
17 fill in the username and password.
19 For a regular file, the location must have a C<E<lt>formatE<gt>:>
20 prefix specifying one of the following formats: C<eml>, C<mboxrd>,
21 C<mboxcl2>, C<mboxcl>, or C<mboxo>.
29 =item --in-format=MAIL_FORMAT
31 Message input format. Unless messages are given on stdin, using a
32 format prefix with C<LOCATION> is preferred.
36 The following options are also supported and are described in
41 =item -o MFOLDER, --output=MFOLDER
47 =item --no-import-remote
49 =item --torsocks=auto|no|yes
53 =item --proxy=PROTO://HOST[:PORT]
59 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
61 The mail archives are hosted at L<https://public-inbox.org/meta/>
62 and L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
66 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
68 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
73 L<lei-add-external(1)>