]> Sergey Matveev's repositories - public-inbox.git/blob - Documentation/lei-import.pod
doc: add lei-import(1)
[public-inbox.git] / Documentation / lei-import.pod
1 =head1 NAME
2
3 lei-import - one-time import of messages into local store
4
5 =head1 SYNOPSIS
6
7 lei import [OPTIONS] LOCATION [LOCATION...]
8
9 lei import [OPTIONS] --stdin
10
11 =head1 DESCRIPTION
12
13 Import messages into the local storage of L<lei(1)>.  C<LOCATION> is a
14 source of messages: a directory (Maildir) or a file (whose format is
15 specified via C<--format>).
16
17 TODO: Update when URL support is added.
18
19 =head1 OPTIONS
20
21 =over
22
23 =item -f MAIL_FORMAT, --format=MAIL_FORMAT
24
25 Message input format: C<eml>, C<mboxrd>, C<mboxcl2>, C<mboxcl>,
26 C<mboxo>.
27
28 =item --stdin
29
30 Read messages from stdin.
31
32 =item --no-kw, --no-keywords, --no-flags
33
34 Don't import message keywords (or "flags" in IMAP terminology).
35
36 =back
37
38 =head1 CONTACT
39
40 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
41
42 The mail archives are hosted at L<https://public-inbox.org/meta/>
43 and L<http://hjrcffqmbrq6wope.onion/meta/>
44
45 =head1 COPYRIGHT
46
47 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
48
49 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
50
51
52 =head1 SEE ALSO
53
54 L<lei-add-external(1)>