MU-INIT(1) | General Commands Manual | MU-INIT(1) |
mu init - initialize the mu message database
mu init [options]
mu init is the subcommand for setting up the mu message database. After mu init has completed, you can run mu index
Note, some of the general options are described in the mu(1) man-page and not here, as they apply to multiple mu commands.
Earlier versions of mu defaulted to ~/.mu, which now requires --muhome=~/.mu.
Alternatively, use can use the MUHOME environment variable (the command-line takes precedence).
<my-email-address> can be either a plain e-mail address (such as foo@example.com), or a regular-expression (of the 'Basic POSIX' flavor), wrapped in / (such as /foo-.*@example\.com/). Depending on your shell program, the argument may need to b quoted.
mu init uses MAILDIR to find the user's Maildir if it has not been specified explicitly with --maildir=<maildir>. If MAILDIR is not set, mu init uses ~/Maildir.
MUHOME can be used as an alternative to --muhome.
mu init returns 0 upon successful completion, or a non-zero exit code if there was some error.
Please report bugs if you find them: https://github.com/djcb/mu/issues
Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
May 2022 | User Manuals |