summary refs log tree commit diff
path: root/mmkdir
blob: 48950dc9491907a1c997f2a6582d8b7b9ad16d75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# mmkdir DIRS... - create new maildirs

umask 077

r=0
for dir; do
	mkdir -p "$dir"/tmp "$dir"/new "$dir"/cur || r=1
done

exit $r