#! /bin/csh -f

set root=/home/people/cpc/ftp/precip

find ${root}/calb-corr/*                        -mtime +5 -type f -exec rm -f {} \;

find ${root}/global_CMORPH/30min_025deg/CMORPH* -mtime +5 -type f -exec rm -f {} \;
find ${root}/global_CMORPH/30min_8km/advt*      -mtime +5 -type f -exec rm -f {} \;
find ${root}/global_CMORPH/3-hourly_025deg/*_3hr-025deg_cpc+comb.*    -mtime +15 -type f -exec rm -f {} \;
find ${root}/global_CMORPH/daily_025deg/*       -mtime +5 -type f -exec rm -f {} \;

find ${root}/global_full_res_IR/merg_*          -mtime +5 -type f -exec rm -f {} \;

find ${root}/global_MWCOMB/30min_8km/ssmi*      -mtime +5 -type f -exec rm -f {} \;

find ${root}/qmorph/30min_025deg/QMORPH*        -mtime +5 -type f -exec rm -f {} \;
find ${root}/qmorph/30min_8km/QMORPH*           -mtime +5 -type f -exec rm -f {} \;

find ${root}/TRMM/gpi/globl*                    -mtime +5 -type f -exec rm -f {} \;

#15 12 * * * find ${root}/noaa15_1x1  -name 'noaa15.*' -mtime +30 -type f -exec rm -f {} \; >/dev/null 2>&1 
#16 12 * * * find ${root}/noaa16_1x1  -name 'noaa16.*' -mtime +30 -type f -exec rm -f {} \; >/dev/null 2>&1
#17 12 * * * find ${root}/noaa17_1x1  -name 'noaa17.*' -mtime +30 -type f -exec rm -f {} \; >/dev/null 2>&1
#40 14  * * * ${root}/cron/preserve.ksh  >/dev/null 2>&1
#41 14  * * * find ${root}/TRMM/gpi -mtime +7 -type f  -exec rm -f {} \; >/dev/null 2>&1
#00 15  * * * find ${root}/beth -mtime +31 -type f -exec rm -f {} \; >/dev/null 2>&1
#15 13  * * * find ${root}/data-req/ipwg -mtime +15 -type f -exec rm -f {} \; >/dev/null 2>&1
#50 21  * * * find ${root}/global_CMORPH/daily_025deg -mtime +16 -type f -exec rm -f {} \; >/dev/null 2>&1
#18 20  * * * find ${root}/CMORPH_V1.0/0.25deg-dly -mtime +4 -type f -exec rm -f {} \; >/dev/null 2>&1
#19 20  * * * find ${root}/CMORPH_V1.0/0.25deg-3hly -mtime +15 -type f -exec rm -f {} \; >/dev/null 2>&1
##10 20  * * * find ${root}/global_CMORPH/3-hourly_025deg -mtime +31 -type f -exec rm -f {} \; >/dev/null 2>&1
#15 20  * * * find ${root}/global_CMORPH/30min_8km -mtime +12 -type f -exec rm -f {} \; >/dev/null 2>&1
#16 20  * * * find ${root}/CMORPH_V1.0/30min_8km -mtime +4 -type f -exec rm -f {} \; >/dev/null 2>&1
#35 20  * * * find ${root}/global_CMORPH/30min_025deg -mtime +7 -type f -exec rm -f {} \; >/dev/null 2>&1
#17 20  * * * find ${root}/CMORPH_V1.0/0.25deg-hly -mtime +4 -type f -exec rm -f {} \; >/dev/null 2>&1
#13  *  * * * find ${root}/global_CMORPH/CMORPH-RT -mmin +1800 -type f -exec rm -f {} \; >/dev/null 2>&1
#54  *  * * * find ${root}/calb-corr -mmin +1 -type f -exec rm -f {} \; >/dev/null 2>&1
#05 21   * * * find ${root}/rjoyce/AFWA/Eylander_cloud-motion-vectors -mtime +1 -type f -exec rm -f {} \; >/dev/null 2>&1
#39 15   * * * find ${root}/rjoyce/AFWA/TRMM_TMI_orbit-files -mtime +4 -type f -exec rm -f {} \; >/dev/null 2>&1
#19 *   * * * find ${root}/rjoyce/AFWA/CPC_4-km_IR_even-odd-config -mmin +400 -type f -exec rm -f {} \; >/dev/null 2>&1
#50 22   * * * find ${root}/CMORPH_3hr_halfdeg -mtime +3 -type f -exec rm -f {} \; >/dev/null 2>&1
#54 14  * * * find ${root}/data-req/suprit -mtime +1 -type f -exec rm -f {} \; >/dev/null 2>&1 
#01 15   * * * find ${root}/rjoyce/download -mmin +600 -type f -exec rm -f {} \; >/dev/null 2>&1
#09 15   * * * find ${root}/rjoyce/all_vectors -mmin +600 -type f -exec rm -f {} \; >/dev/null 2>&1
#10 15   * * * find ${root}/rjoyce/amsu-b_trimmed -mmin +600 -type f -exec rm -f {} \; >/dev/null 2>&1
#11 15   * * * find ${root}/rjoyce/instan_micro-precip -mmin +600 -type f -exec rm -f {} \; >/dev/null 2>&1
#22 15   * * * find ${root}/rjoyce/advect_micro-precip_time-interp -mmin +600 -type f -exec rm -f {} \; >/dev/null 2>&1
#23 15   * * * find ${root}/rjoyce/micro_precip-16km -mmin +600 -type f -exec rm -f {} \; >/dev/null 2>&1
#24 15   * * * find ${root}/rjoyce/tar-files -mmin +600 -type f -exec rm -f {} \; >/dev/null 2>&1
#47 14   * * * find ${root}/rjoyce/download -mmin + 5760 -type f -exec rm -f {} \; >/dev/null 2>&1
#51 20   * * * find ${root}/data-req/augusto/1hr_cmorph/current_year -mtime +31 -type f -exec rm -f {} \; >/dev/null 2>&1
