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 β€” peep mu(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 index is 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 variable NO_COLOR works 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 πŸ’œ


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 🌟

maildir(5), chmod(1)


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