Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 299
  • Last Modified:

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?
0
davidpm
Asked:
davidpm
  • 2
1 Solution
 
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
 
rbrCommented:
Much easier use

find /mnt/dos -iname *termpaper*.doc
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.

Join & Write a Comment

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now