what about something like this:
#!/bin/bash
for file in `find ./ -iname $1`
do
rm $file
done
Not tested, but I think it'll work. You'll have to give different flags to rm if you want it to remove directories as well...
Infarction
Posting Virtuoso
1,580 posts since May 2006
Reputation Points: 683
Solved Threads: 53