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