mu-mkdir - Man Page

create a new Maildir


mu [common-options] mkdir [options] <dir> [<dirs>]


mu mkdir is the mu command for creating Maildirs. It does not* use the mu database. With the *mkdir command, you can create new Maildirs with *permissions 0755. For example,

$ mu mkdir tom dick harry

creates three maildirs, tom, dick and harry.

If creation fails for any reason, no attempt is made to remove any parts that were created. This is for safety reasons.

Mkdir Options


set the file access mode for the new maildir(s) as in chmod(1).

Common Options

-d, --debug

makes mu generate extra debug information, useful for debugging the program itself. By default, debug information goes to the log file, ~/.cache/mu/mu.log. It can safely be deleted when mu is not running. When running with --debug option, the log file can grow rather quickly. See the note on logging below.

-q, --quiet

causes mu not to output informational messages and progress information to standard output, but only to the log file. Error messages will still be sent to standard error. Note that mu index is much faster with --quiet, so it is recommended you use this option when using mu from scripts etc.


causes mu to not output log messages to standard error, in addition to sending them to the log file.


do not use ANSI colors. The environment variable NO_COLOR can be used as an alternative to --nocolor.

-V, --version

prints mu version and copyright information.

-h, --help

lists the various command line options.

Reporting Bugs

Please report bugs at


Dirk-Jan C. Binnema <>

See Also

maildir(5), chmod(1)

Referenced By

mu(1), mu-easy(7).