Difference Between -name and -iname in FIND Command

find

Well the question says it all, I have seen both

find -name 

and

find -iname 

used all over the place without a discernible pattern.

Could somebody explain the differences, perhaps with an example to clarify?

Best Answer

From the GNU find manual page:

   -iname pattern
          Like -name, but the match is case insensitive.  For example, the
          patterns `fo*' and `F??' match  the  file  names  `Foo',  `FOO',
          `foo',  `fOo',  etc. 
Related Question