#! /bin/bash

###--- Preason Cleanup - Matt Onderlinde

### ---> undo echo "..." below to actually run it

for b in AT EP CP
do
	for n in $(seq 1 1 40)
	do
		if [ ${n} -lt 10 ];then
			num=0${n}
		else
			num=${n}
		fi
		if [ -d ${b}${num} ];then
			echo "rm -rf ${b}${num}/*png ${b}${num}/*kmz ${b}${num}/*zip ${b}${num}/*EXCEED ${b}${num}/*js ${b}${num}/*tgz ${b}${num}/*PSURGE ${b}${num}/*GIF ${b}${num}/*kml"
			### rm -rf ${b}${num}/*png ${b}${num}/*kmz ${b}${num}/*zip ${b}${num}/*EXCEED ${b}${num}/*js ${b}${num}/*tgz ${b}${num}/*PSURGE ${b}${num}/*GIF ${b}${num}/*kml
		fi
	done
done
