diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-06-19 16:18:32 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-06-19 16:18:32 +0200 |
commit | 59ced828e72879f6a1f738d66facfafb228fe6bb (patch) | |
tree | b20ff1737669b58aae9526e68da82e817d37a42d /contrib | |
parent | 02383ec51c12edfcc18259380820961881f18a22 (diff) | |
download | mblaze-59ced828e72879f6a1f738d66facfafb228fe6bb.tar.gz mblaze-59ced828e72879f6a1f738d66facfafb228fe6bb.tar.xz mblaze-59ced828e72879f6a1f738d66facfafb228fe6bb.zip |
contrib: add mmkdir
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/mmkdir | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/mmkdir b/contrib/mmkdir new file mode 100755 index 0000000..26d01ff --- /dev/null +++ b/contrib/mmkdir @@ -0,0 +1,9 @@ +#!/bin/sh +# mmkdir DIRS... - create new maildirs + +r=0 +for dir; do + mkdir -p -m 0700 $dir/cur $dir/new $dir/tmp || r=1 +done + +exit $r |