#!/bin/sh pwd=`pwd` for i in `ls -1`; do if [ -d $i ]; then cd $i .runall clean cd $pwd fi done