diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-06-20 14:17:24 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-06-20 14:17:24 +0200 |
commit | 8dd2dd58354f3fec2a948c3a007fc7fdb0ae6c73 (patch) | |
tree | 330b5e0b80ab63bd99e2f57a63a04ee5507810e5 /mmkdir | |
parent | c4a97ff4309d634e1e21758cff17820704250dd3 (diff) | |
download | mblaze-8dd2dd58354f3fec2a948c3a007fc7fdb0ae6c73.tar.gz mblaze-8dd2dd58354f3fec2a948c3a007fc7fdb0ae6c73.tar.xz mblaze-8dd2dd58354f3fec2a948c3a007fc7fdb0ae6c73.zip |
mmkdir: make official command
Diffstat (limited to 'mmkdir')
-rwxr-xr-x | mmkdir | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mmkdir b/mmkdir new file mode 100755 index 0000000..26d01ff --- /dev/null +++ b/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 |