Find command syntex

The following works fine:
find /mnt/dos -name *termpaper*.doc

but only if termpaper is lower case.
How can I make this find command case insensitive?
davidpmAsked:
Who is Participating?
 
rbrCommented:
Much easier use

find /mnt/dos -iname *termpaper*.doc
0
 
VileCommented:
How about
find /mnt/dos -name *[tT][eE][rR][mM][pP][aA][pP][eE][rR]*.doc -print

I know its kludgy but it should work!

   :)
0
 
VileCommented:
damn.. i knew there was a switch but wasnt on the nix box to run a man... :)
0
 
davidpmAuthor Commented:
Thanks that's it
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.