Finding files by Extention in a CLI

Paul Howarth paul at city-fan.org
Fri Feb 11 18:20:51 UTC 2005


H. Streit wrote:
> Okay, so I've just copied over a bunch of files and I want to find all 
> .com/.COM/.Com files...
> I thought "find . -print|grep -i ".com" would work, tried a few 
> variants, but I know I'm doing something wrong...any takers?

$ find . -name '*.[Cc][Oo][Mm]' -print

Paul.




More information about the fedora-list mailing list