find . -name "*.exe" -exec rm {} \; find . -name "*.dll" -exec rm {} \; rm -rf bin/serf ArcGIS_toolbox Imagine_toolbox