1 2 3 4 5 6 7 8
#!/bin/sh if [ -z "$1" ]; then echo "usage: $1 <dir>" exit fi mkdir -p $1/{new,cur,tmp}