LEI-IMPORT(1) | public-inbox user manual | LEI-IMPORT(1) |
lei-import - one-time import of messages into local store
lei import [OPTIONS] LOCATION [LOCATION...] [+L:LABEL]
lei import [OPTIONS] (--stdin|-)
Import messages into the local storage of lei(1). "LOCATION" is a source of messages: a directory (Maildir), a file, 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".
Default: fcntl,dotlock
For example, specifying "+L:inbox" applies the "inbox" label to all messages being imported.
May be specified multiple times to apply multiple labels.
Default: none
May be specified multiple times to apply multiple keywords.
Default: none
Default: "auto"
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>
1993-10-02 | public-inbox.git |