Dariusz,
On Tuesday 22 August 2006 20:01, Dariusz J. Garbowski wrote:
> find DIRECTORY -not -name "*.[jJ][pP][gG]" -and -not -name
> "*.[jJ][pP][eE][gG]" -type f -exec rm -v {} \;
you might want to read the manpage for find and look for the option "-iname".
I'm sure you'll like it very much.
regards
FF