diff options
author | Eric Wong <e@80x24.org> | 2021-09-08 18:48:20 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-09-09 04:50:33 +0000 |
commit | c033dde5f54fa886b5bef5b9d5c13aa8624e8df4 (patch) | |
tree | 15164dccffb3e3ef566fb8131541e30492869e38 /Documentation | |
parent | 656345685dae0de213d95f88f34d7b73da759df7 (diff) | |
download | public-inbox-c033dde5f54fa886b5bef5b9d5c13aa8624e8df4.tar.gz |
-F/--in-format and --lock=TYPE(S) are easily supported by all classes using LeiInput.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/lei-rm.pod | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/Documentation/lei-rm.pod b/Documentation/lei-rm.pod new file mode 100644 index 00000000..f2a0c0f0 --- /dev/null +++ b/Documentation/lei-rm.pod @@ -0,0 +1,72 @@ +=head1 NAME + +lei-rm - unindex a message in lei/store + +=head1 SYNOPSIS + +lei rm [OPTIONS] (-|--stdin) + +lei rm [OPTIONS] LOCATION + +=head1 DESCRIPTION + +Removes message(s) and associated private metadata from lei/store +indices. It does not affect messages stored in externals, so it's +still possible to get "removed" messages from externals in L<lei-q> +search results. + +This does not remove the message from underlying git storage nor +does it remove messages from Maildir/mbox/IMAP/etc. sources. + +=head1 OPTIONS + +=over + +=item - + +=item --stdin + +Read input from standard input. This is the default if standard +input is a pipe or regular file and there are no arguments on +the command-line. + +=item -F MAIL_FORMAT + +=item --in-format=MAIL_FORMAT + +Message input format: C<eml>, C<maildir>, C<imap>, C<imaps>, C<nntp>, +C<nntps>, C<mboxrd>, C<mboxcl2>, C<mboxcl>, or C<mboxo>. + +Default: C<eml> when reading from stdin + +=item --lock=METHOD + +L<mbox(5)> locking method(s) to use: C<dotlock>, C<fcntl>, C<flock> or +C<none>. + +Default: fcntl,dotlock + +=item -q + +=item --quiet + +Suppress feedback messages. + +=back + +=head1 CONTACT + +Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org> + +The mail archives are hosted at L<https://public-inbox.org/meta/> and +L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/> + +=head1 COPYRIGHT + +Copyright all contributors L<mailto:meta@public-inbox.org> + +License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt> + +=head1 SEE ALSO + +L<lei-store-format(5)> |