summaryrefslogtreecommitdiffstats
path: root/bashrc/bin/maildirmake
blob: 5ba5f11e101f3593642608f943f74b3dd3fd77b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# create maildir style directories

if [[ -z "$1" ]] ; then
	echo "Usage:"
	echo -en "\t"
	echo "$(basename $0) <directory>"
	exit 1
fi

mkdir -m 0700 $1/{,cur,new,tmp}