: !/bin/sh cd $1 for dir in `find . -depth -type d -print` do echo "Do Dir $dir" indfile="$dir/index.html" if [ ! -f "$indifle" ]; then echo " mk $indfile" touch "$indfile" chmod 644 "$indfile" fi done