Earlier today, I was in need of an easy way to delete files that mached a specific format within a series of folders. For the case of this example, let's say all CSS files. I discovered I could do it with:
find . -name '*.css' -delete
The . represents the current folder and below. Unfortunately you can't use
rm -r because it doesn't recursively check for file names matching a pattern.