lei-rm - Man Page

unindex a message in lei/store

Synopsis

lei rm [Options] (-|--stdin)

lei rm [Options] LOCATION

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 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.

Options

-
--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.

-F MAIL_FORMAT
--in-format=MAIL_FORMAT

Message input format: eml, mboxrd, mboxcl2, mboxcl, or mboxo when reading from stdin or using one of the mbox variants.

Not necessary when using an IMAP URL, NNTP URL or Maildir.

Default: eml when reading from stdin or if the file suffix ends in .patch or .eml.

--lock=METHOD

mbox(5) locking method(s) to use: dotlock, fcntl, flock or none.

Default: fcntl,dotlock

-q
--quiet

Suppress feedback messages.

Contact

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/>

See Also

lei-store-format(5)

Info

1993-10-02 public-inbox.git public-inbox user manual