mas01cr@46: #! /bin/sh mas01cr@46: mas01cr@46: for file in [0-9][0-9][0-9][0-9]*; do mas01cr@46: if [ -d ${file} ]; then mas01cr@46: echo Cleaning ${file} mas01cr@46: rm -f ${file}/test* mas01cr@46: if [ -f ${file}/clean.sh ]; then mas01cr@46: (cd ${file} && sh ./clean.sh) mas01cr@46: fi mas01cr@46: fi mas01cr@46: done