Your company here — click to reach over 10,000 unique daily visitors

lei-rm - Man Page

unindex a message in lei/store


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

lei rm [Options] LOCATION


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.



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.


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.


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

Default: fcntl,dotlock


Suppress feedback messages.


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



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