2022-12-30 10:13:00 +01:00
|
|
|
#+TITLE: MU MKDIR
|
|
|
|
#+MAN_CLASS_OPTIONS: :section-id "@SECTION_ID@" :date "@MAN_DATE@"
|
|
|
|
|
2022-12-17 23:21:52 +01:00
|
|
|
* NAME
|
|
|
|
|
2024-03-02 13:00:31 +01:00
|
|
|
mu-mkdir - create a new Maildir
|
2022-12-17 23:21:52 +01:00
|
|
|
|
|
|
|
* SYNOPSIS
|
|
|
|
|
|
|
|
*mu [common-options] mkdir [options] <dir> [<dirs>]*
|
|
|
|
|
|
|
|
* DESCRIPTION
|
|
|
|
|
2023-07-19 07:48:57 +02:00
|
|
|
*mu mkdir* is the command for creating Maildirs as per *maildir(5)*. A maildir is a
|
|
|
|
a directory with subdirectories ~new~, ~cur~ and ~tmp~.
|
2022-12-17 23:21:52 +01:00
|
|
|
|
2023-08-03 18:49:06 +02:00
|
|
|
The command does not use the mu database.
|
2022-12-17 23:21:52 +01:00
|
|
|
|
|
|
|
If creation fails for any reason, *no* attempt is made to remove any parts that
|
|
|
|
were created. This is for safety reasons.
|
|
|
|
|
|
|
|
* MKDIR OPTIONS
|
|
|
|
|
|
|
|
** --mode=<mode>
|
2023-07-19 07:48:57 +02:00
|
|
|
set the file access mode for the new maildir(s) as in *chmod(1)*. The default
|
|
|
|
is 0755.
|
2022-12-17 23:21:52 +01:00
|
|
|
|
|
|
|
#+include: "common-options.inc" :minlevel 1
|
|
|
|
|
2023-07-19 07:48:57 +02:00
|
|
|
* EXAMPLE
|
|
|
|
|
|
|
|
#+begin_example
|
|
|
|
$ mu mkdir tom dick harry
|
|
|
|
#+end_example
|
|
|
|
|
|
|
|
creates three maildirs, =tom=, =dick= and =harry=.
|
|
|
|
|
2022-12-17 23:21:52 +01:00
|
|
|
#+include: "prefooter.inc" :minlevel 1
|
|
|
|
|
|
|
|
* SEE ALSO
|
|
|
|
|
|
|
|
*maildir(5)*, *chmod(1)*
|