#!/usr/bin/ksh # # rsync_gbo_cleanup.ksh # # Cleanup rsync log files associated with process picking # up ASI files # # Author: Tim Quinn # Created: August 2009 # # ## Set the environment variables # if [[ -z $THMSOC ]] then THMSOC=/disks/socware/thmsoc_dp_current export THMSOC fi # . ${THMSOC}/src/config/soc_it_to_me.config . /home/thmsoc/gaia2_test/soc_it_to_me.config . ${THMSOC}/src/config/gbo_asi_rt_mirror.config # ## ## Begin Work ## # find ${LOGDIR} -name RSYNC\* -mtime +10 -exec /bin/rm -rf {} \; # ## Cleanup # exit 0