#!/bin/csh #Brian Schlinig #extractM2_02 #startdate is the first day that I can find all the serial numbers of the # instruments deployed, not the first day of data. set startdate = 97000 set endate = 97126 set date = $startdate set can = m2 set filepath = /oasis/jun96/raw while($date < $endate) foreach file ($filepath/$can.$date.*) nice /oasis/bin/extract -i specprr -c /2s0/data/brian/mooring/cfg/m1.cfg $file end @ date ++ end