#!/bin/bash [ -z "$1" ] && echo "usage: $0 " && exit 1 mkdir -p $1 chmod 700 $1 cd $1 mkdir -p cur mkdir -p tmp mkdir -p new chmod 700 cur tmp new