#!/usr/bin/ksh ## list_gmag_epormds_hourly.ksh ## ## This script will make lists of what ATH RMDs have been collected ## ## Set the environment variables # #. $HOME/software_dev/config/ground_mag.config # . $HOME/software_dev/config/soc_it_to_me.config if [[ -z $THMSOC ]] then THMSOC=/disks/socware/thmsoc_dp_current export THMSOC fi . $THMSOC/src/config/ground_mag.config . $THMSOC/src/config/soc_it_to_me.config ## Set input variables # ## Remove old site files # #rm -f ${CONFIGDIR}/gmag_raw_epo_hourly_*.txt ## Process sites # #for line in $(cat ${UCLA_MIRROR_HOME}/site_list.txt) #do for site in LARG LETH REDR ROTH do find /disks/themisdata/thg/mirrors/mag/uatha_rmd/${site}/ -name \*RMD -exec /bin/basename {} \; | sort >> /home/thmsoc/lphilpotts_stuff/gmag_raw_ath_hourly_${site}.txt done exit 0