.ftr C B .TH "MU MKDIR" "1" .SH "NAME" .PP mu-mkdir - create a new Maildir .SH "SYNOPSIS" .PP \fBmu [common-options] mkdir [options] []\fP .SH "DESCRIPTION" .PP \fBmu mkdir\fP is the command for creating Maildirs as per \fBmaildir(5)\fP. A maildir is a a directory with subdirectories \fCnew\fP, \fCcur\fP and \fCtmp\fP. .PP The command does not use the mu database. .PP If creation fails for any reason, \fBno\fP attempt is made to remove any parts that were created. This is for safety reasons. .SH "MKDIR OPTIONS" .SS "--mode=" .PP set the file access mode for the new maildir(s) as in \fBchmod(1)\fP. The default is 0755. .SH "COMMON OPTIONS" .SS "-d, --debug" .PP 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. .SS "-q, --quiet" .PP 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. .SS "--log-stderr" .PP causes mu to not output log messages to standard error, in addition to sending them to the log file. .SS "--nocolor" .PP do not use ANSI colors. The environment variable \fCNO_COLOR\fP can be used as an alternative to \fC\-\-nocolor\fP. .SS "-V, --version" .PP prints mu version and copyright information. .SS "-h, --help" .PP lists the various command line options. .SH "EXAMPLE" .RS .nf $ mu mkdir tom dick harry .fi .RE .PP creates three maildirs, \fItom\fP, \fIdick\fP and \fIharry\fP. .SH "REPORTING BUGS" .PP Please report bugs at \fIhttps://github.com/djcb/mu/issues\fP. .SH "AUTHOR" .PP Dirk-Jan C. Binnema .SH "COPYRIGHT" .PP This manpage is part of \fCmu\fP 1.12.3. .PP Copyright © 2008-2024 Dirk-Jan C. Binnema. License GPLv3+: GNU GPL version 3 or later \fIhttps://gnu.org/licenses/gpl.html\fP. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" .PP \fBmaildir(5)\fP, \fBchmod(1)\fP