Skip to content

Commit

Permalink
mmkdir: make official command
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Jun 20, 2017
1 parent c4a97ff commit 8dd2dd5
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GNUmakefile
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion man/mblaze.7
Expand Up @@ -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
Expand All @@ -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
Expand Down
40 changes: 40 additions & 0 deletions man/mmkdir.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/
File renamed without changes.

0 comments on commit 8dd2dd5

Please sign in to comment.