Solved

Find command syntex

Posted on 2000-04-18
4
233 Views
Last Modified: 2006-11-17
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
Comment
Question by:davidpm
  • 2
4 Comments
 

Expert Comment

by:Vile
ID: 2729416
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
 
LVL 10

Accepted Solution

by:
rbr earned 20 total points
ID: 2729532
Much easier use

find /mnt/dos -iname *termpaper*.doc
0
 

Expert Comment

by:Vile
ID: 2729553
damn.. i knew there was a switch but wasnt on the nix box to run a man... :)
0
 

Author Comment

by:davidpm
ID: 2730759
Thanks that's it
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now