Finding non-jpg files

Dariusz J. Garbowski thuforuk at
Wed Aug 23 00:14:17 BST 2006

On 08/23/2006 12:10 AM, Felipe Figueiredo wrote:
> 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.

Yep, makes case-sensitivity handling easier and saves on typing :-) 
Thanks Felipe!


Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail.

More information about the kubuntu-users mailing list