about summary refs log tree commit diff
path: root/contrib/mmkdir
blob: 26d01ffad3440df6af68393637b828e1cc279e1d (plain) (blame)
1
2
3
4
5
6
7
8
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