#!/bin/csh -f # remove the files from exp_xxx directories following archival storage # syntax: # cleanem exp_no1 exp_no2 exp_no3 .... foreach EXP_NO ( ${argv} ) echo "cleaning exp_no: ${EXP_NO}" set DIR_PIN = exp_0${EXP_NO}/data.pin set DIR_RAW = exp_0${EXP_NO}/data.raw set DIR_PCX = exp_0${EXP_NO}/data.pcx rm ${DIR_PIN}/* rm ${DIR_RAW}/* rm ${DIR_PCX}/* end