summaryrefslogtreecommitdiffstats
path: root/mkmaildir
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-06-24 13:02:10 +0200
committerFlorian Pritz <f-p@gmx.at>2009-06-24 13:02:10 +0200
commit98e7866fbb0abda9fdaaf2b16d0f0def1972e6fd (patch)
tree5bd3a889ddd381cd41b060f5e7d151c017ccbace /mkmaildir
parentb4b65f421491d41528e39b7bccc6182270296adb (diff)
downloadbin-98e7866fbb0abda9fdaaf2b16d0f0def1972e6fd.tar.gz
bin-98e7866fbb0abda9fdaaf2b16d0f0def1972e6fd.tar.xz
simple script for maildirs
Diffstat (limited to 'mkmaildir')
-rwxr-xr-xmkmaildir8
1 files changed, 8 insertions, 0 deletions
diff --git a/mkmaildir b/mkmaildir
new file mode 100755
index 0000000..ca753ed
--- /dev/null
+++ b/mkmaildir
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -z "$1" ]; then
+ echo "usage: $1 <dir>"
+ exit
+fi
+
+mkdir $1/{new,cur,tmp}