BE CAREFUL! IF YOU RUN THIS YOU WILL ERASE ALL THE PICKINGS!!!!! ##!/bin/sh #MAIN_DIR=`pwd` ## ## Checks whether there are old events. If yes, it removes them... ## #ls -d [0-9][0-9][0-9]>${MAIN_DIR}/list_dir #num=`cat list_dir|wc -l` # #if [ ${num} -gt 0 ] #then # while read dir # do # rm -rf ${MAIN_DIR}/${dir} # done<${MAIN_DIR}/list_dir #fi ## ## Grabs the earthquakes from Kevin's list and makes new event directories... ## #sh Make_DataSet.sh #ls -d [0-9][0-9][0-9]>${MAIN_DIR}/list_dir #while read dir #do # cd ${MAIN_DIR}/${dir} # sac2000<