Finding files by Extention in a CLI

Gérard Milmeister gemi at bluewin.ch
Fri Feb 11 18:18:26 UTC 2005


On Fri, 2005-02-11 at 12:13 -0600, 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?
> 
Try:
find . -iname \*.com
-- 
Gérard Milmeister
Langackerstrasse 49
CH-8057 Zürich




More information about the fedora-list mailing list