Finding non-jpg files

Felipe Figueiredo philsf at ufrj.br
Tue Aug 22 23:10:39 UTC 2006


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




More information about the kubuntu-users mailing list