.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "LEI-IMPORT 1" .TH LEI-IMPORT 1 1993-10-02 public-inbox.git "public-inbox user manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME lei\-import \- one\-time import of messages into local store .SH SYNOPSIS .IX Header "SYNOPSIS" lei import [OPTIONS] LOCATION [LOCATION...] [+L:LABEL] .PP lei import [OPTIONS] (\-\-stdin|\-) .SH DESCRIPTION .IX Header "DESCRIPTION" Import messages into the local storage of \fBlei\fR\|(1). \f(CW\*(C`LOCATION\*(C'\fR is a source of messages: a directory (Maildir), a file, or a URL (\f(CW\*(C`imap://\*(C'\fR, \f(CW\*(C`imaps://\*(C'\fR, \f(CW\*(C`nntp://\*(C'\fR, or \f(CW\*(C`nntps://\*(C'\fR). URLs requiring authentication use \fBgit\-credential\fR\|(1) to fill in the username and password. .PP For a regular file, the \f(CW\*(C`LOCATION\*(C'\fR must have a \f(CW\*(C`:\*(C'\fR prefix specifying one of the following formats: \f(CW\*(C`mboxrd\*(C'\fR, \&\f(CW\*(C`mboxcl2\*(C'\fR, \f(CW\*(C`mboxcl\*(C'\fR, or \f(CW\*(C`mboxo\*(C'\fR. .SH OPTIONS .IX Header "OPTIONS" .IP "\-F MAIL_FORMAT" 4 .IX Item "-F MAIL_FORMAT" .PD 0 .IP \-\-in\-format=MAIL_FORMAT 4 .IX Item "--in-format=MAIL_FORMAT" .PD Message input format. Unless messages are given on stdin, using a format prefix with \f(CW\*(C`LOCATION\*(C'\fR is preferred. .IP \-\-stdin 4 .IX Item "--stdin" Read messages from stdin. .IP \-\-lock 4 .IX Item "--lock" \&\fBmbox\fR\|(5) locking method(s) to use: \f(CW\*(C`dotlock\*(C'\fR, \f(CW\*(C`fcntl\*(C'\fR, \f(CW\*(C`flock\*(C'\fR or \&\f(CW\*(C`none\*(C'\fR. .Sp Default: fcntl,dotlock .IP +L:LABEL 4 .IX Item "+L:LABEL" Add the given \f(CW\*(C`LABEL\*(C'\fR to all messages imported, where \f(CW\*(C`LABEL\*(C'\fR is an arbitrary user-defined value consisting of lowercase and digits. See \fBlei\-tag\fR\|(1) for more info on labels. .Sp For example, specifying \f(CW\*(C`+L:inbox\*(C'\fR applies the \f(CW\*(C`inbox\*(C'\fR label to all messages being imported. .Sp May be specified multiple times to apply multiple labels. .Sp Default: none .IP +kw:KEYWORD 4 .IX Item "+kw:KEYWORD" Apply \f(CW\*(C`KEYWORD\*(C'\fR to all messages being imported in addition to any per-message keywords from the store (unless \f(CW\*(C`\-\-no\-kw\*(C'\fR is specified). See \fBlei\-tag\fR\|(1) for more info on keywords. .Sp May be specified multiple times to apply multiple keywords. .Sp Default: none .IP \-\-no\-kw 4 .IX Item "--no-kw" Don't import message keywords (or "flags" in IMAP terminology). .IP \-\-no\-incremental 4 .IX Item "--no-incremental" Import already seen IMAP and NNTP articles. .IP \-\-torsocks=auto|no|yes 4 .IX Item "--torsocks=auto|no|yes" .PD 0 .IP \-\-no\-torsocks 4 .IX Item "--no-torsocks" .PD Whether to wrap \fBgit\fR\|(1) and \fBcurl\fR\|(1) commands with \fBtorsocks\fR\|(1). .Sp Default: \f(CW\*(C`auto\*(C'\fR .IP \-\-proxy=PROTOCOL://HOST[:PORT] 4 .IX Item "--proxy=PROTOCOL://HOST[:PORT]" Use the specified proxy (e.g., \f(CW\*(C`socks5h://0:9050\*(C'\fR). .SH CONTACT .IX Header "CONTACT" Feedback welcome via plain-text mail to .PP The mail archives are hosted at and .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright all contributors .PP License: AGPL\-3.0+ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBlei\-index\fR\|(1)