DOKK / manpages / debian 11 / maildir-utils / mu-remove.1.en
MU-REMOVE(1) General Commands Manual MU-REMOVE(1)

mu_remove - remove messages from the database.

mu remove [options] <file> [<files>]

mu remove removes specific messages from the database, each of them specified by their filename. The files do not have to exist in the file system.

mu remove does not have its own options, but the general options for determining the location of the database (--muhome) are available. See mu-index(1) for more information.

mu remove returns 0 upon success; in general, the following error codes are returned:

| code | meaning                           |
|------+-----------------------------------|
|    0 | ok                                |
|    1 | general error                     |
|    5 | some database update error        |

Please report bugs if you find them: https://github.com/djcb/mu/issues

Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>

mu(1), mu-index(1), mu-add(1)

July 2012 User Manuals