#! /bin/csh # tarraw - C Shell script to tar raw OASIS data files # onintr - # Disable interrupts to avoid SIGINT cd /oasis/raw set filedate = `date +%y%j` @ filedate-- foreach can (drift4 drift5) /bin/tar cf tar/$can.$filedate.tar $can.$filedate.* /usr/mbari/bin/gzip tar/$can.$filedate.tar rm $can.$filedate.* end