mmkdir: make official command

pull/37/head
Leah Neukirchen 7 years ago
parent c4a97ff430
commit 8dd2dd5835

@ -18,7 +18,7 @@ BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/share/man
ALL = maddr magrep mdate mdeliver mdirs mexport mflag mgenmid mhdr minc mlist mmime mpick mscan msed mseq mshow msort mthread
SCRIPT = mcolor mcom mless mquote museragent
SCRIPT = mcolor mcom mless mmkdir mquote museragent
all: $(ALL) museragent

@ -25,7 +25,7 @@ to write and send mail
.It Xr mdeliver 1
to deliver messages or import mailboxes
.It Xr mdirs 1
to find Maildirs
to find Maildir
.It Xr mexport 1
to export mailboxes
.It Xr mflag 1
@ -43,6 +43,8 @@ to conveniently read mail in
to list and filter mail messages
.It Xr mmime 1
to create MIME messages
.It Xr mmkdir 1
to create new Maildir
.It Xr mpick 1
to filter mail
.It Xr mrep 1

@ -0,0 +1,40 @@
.Dd June 20, 2017
.Dt MMKDIR 1
.Os
.Sh NAME
.Nm mmkdir
.Nd create new Maildir
.Sh SYNOPSIS
.Nm
.Ar dirs\ ...
.Sh DESCRIPTION
.Nm
creates new Maildir.
.Pp
Parent directories are created as needed, and creating existing
Maildir is no error.
.Pp
New Maildir are created with permission 0700, i.e.
only readable and writable by the owner.
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr mkdir 1
.Pp
.Lk https://cr.yp.to/proto/maildir.html "Using maildir format"
.Sh AUTHORS
.An Leah Neukirchen Aq Mt leah@vuxu.org
.Sh CAVEATS
.Nm
does not support Maildir++,
you need to transform nested Maildir++ folder names yourself.
.Sh LICENSE
.Nm
is in the public domain.
.Pp
To the extent possible under law,
the creator of this work
has waived all copyright and related or
neighboring rights to this work.
.Pp
.Lk http://creativecommons.org/publicdomain/zero/1.0/
Loading…
Cancel
Save