I did a website scrape for a conversion project. I'd like to do some statistics on the types of files in there -- for instance, 400 .html files, 100 .gif, etc. What's an easy way to do this? It has to be recursive.
Edit: With the script that maxschelpzig posted, I'm having some problems due to the architecture of the site I've scraped. Some of the files are of the name
*.php?blah=blah&foo=bar with various arguments, so it counts them all as unique. So the solution needs to consider
*.php* to be all of the same type, so to speak.