MU-MKDIR(1)
β¨ MU-MKDIR(1) β the create-a-Maildir girlies' moment β¨
okay so bestie, this is the man page for mu-mkdir from the mu manual, and it's literally the cutest little command in the whole toolbox. let's get into it π
πΈ NAME πΈ
mu-mkdir β create a new Maildir. that's it. that's the whole job. iconic behavior honestly π
π¦ SYNOPSIS π¦
mu [COMMON-OPTIONS] mkdir [OPTIONS] DIR...
π DESCRIPTION π
mu mkdir is the command for creating Maildirs, exactly as described in maildir(5). and what's a maildir, you ask? it's a directory that has three subdirectories inside it: new, cur and tmp. that's the whole vibe. π
the tea: this command does not touch the mu database. not even a little. it's just out here making folders, minding its own business.
β οΈ also important, and I need you to pay attention: if creation fails for any reason, no attempt is made to remove any parts that were already created. like, it will not clean up after itself. and that's on purpose β it's for safety reasons. so if it dies halfway through, whatever got made, stays made. periodt.
β¨ MKDIR OPTIONS β¨
π --mode mode
Sets the file access mode for the new maildir(s), same energy as chmod(1). the default? 0755. set it, forget it, or don't touch it and let the default do its thing π«Ά
π COMMON OPTIONS π
these are the shared mu options, and yes, they apply here too:
-d,--debugβ makes mu spill extra debug info, which is genuinely useful when you're debugging the program itself. the debug info goes to the standard logging location β peepmu(1)for where that lives π-q,--quietβ tells mu to stop yapping informational messages and progress updates to standard output, and send them to the log file instead. error messages still go to standard error, so you won't miss those. ngl,mu indexis much faster with--quiet, so if you're running mu from scripts and such, you should absolutely be using this π--log-stderrβ makes mu not output log messages to standard error, in addition to sending them to the standard logging location β¨--nocolorβ no ANSI colors, babe. and psst: the environment variableNO_COLORworks as an alternative to--nocolorπ¨π«-V,--versionβ prints the mu version and copyright info π-h,--helpβ lists all the various command line options. your little cheat sheet π
π EXAMPLE π
$ mu mkdir tom dick harry
this creates three maildirs: tom, dick and harry. three besties, one command, zero drama π₯
π REPORTING BUGS π
found a bug? please report it at https://github.com/djcb/mu/issues. they wanna hear about it, fr fr π
π AUTHOR π
Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> β the main character who built all this π
π COPYRIGHT π
This manpage is part of mu 1.14.2.
Copyright Β© 2008-2026 Dirk-Jan C. Binnema. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
π yes bestie, NO WARRANTY in all caps, they are not playing around.
π SEE ALSO π
and that's the whole page, angel π¦ β mu-mkdir, mu 1.14.2, copyright Β© 2008-2026 Dirk-Jan C. Binnema, go forth and make maildirs, slay π β¨π
π¦ where this page comes from
- ubuntu stonking: maildir-utils 1.14.2-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms