## DELETE LOCALDFS ADC IMAGE BEFORE 30 DAYS
##find /data5/tms/localdfs/on/image/array/*/ -maxdepth 7 -type f -mtime +30 -exec rm -rf {} \;
echo "`date '+%b  %d %T %a'` $HOSTNAME [auto_delete_adc_picture_image_from_localdfs]: Auto Clear Script Start ..." > /tmp/auto_clear.log
echo "`date '+%b  %d %T %a'` $HOSTNAME [auto_delete_adc_picture_image_from_localdfs]: Now Start Delete ADC IMage Before 7 Days From /NAS/CAPFS/data/B5_ADC_Files/tms/localdfs/on/image/array" >> /tmp/auto_clear.log
echo `find /NAS/CAPFS/data/B5_ADC_Files/tms/localdfs/on/image/array/*-00/ -maxdepth 7 -type f -mtime +7 -exec rm -rf {} \;`
echo "`date '+%b  %d %T %a'` $HOSTNAME [auto_delete_adc_picture_image_from_localdfs]: Delete ADC IMage Before 7 Days From /NAS/CAPFS/data/B5_ADC_Files/tms/localdfs/on/image/array Path Complete!" >> /tmp/auto_clear.log
echo "`date '+%b  %d %T %a'` $HOSTNAME [auto_delete_adc_picture_image_from_localdfs]: Now Start Delete AOI IMage Before 30 Days From /NAS/CAPFS/data/B5_ADC_Files/tms/localdfs/on/image/array" >> /tmp/auto_clear.log
echo `find /NAS/CAPFS/data/B5_ADC_Files/tms/localdfs/on/image/array/*/ -maxdepth 7 -type f -mtime +30 -exec rm -rf {} \;`
echo "`date '+%b  %d %T %a'` $HOSTNAME [auto_delete_adc_picture_image_from_localdfs]: Delete AOI IMage IMage Before 30 Days From /NAS/CAPFS/data/B5_ADC_Files/tms/localdfs/on/image/array Path Complete!" >> /tmp/auto_clear.log
echo "`date '+%b  %d %T %a'` $HOSTNAME [auto_delete_adc_picture_image_from_localdfs]: Auto Clear Script Complete!" >> /tmp/auto_clear.log
