Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • 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

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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