• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shell Script 'find'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell Script 'find'


  • Subject: Re: Shell Script 'find'
  • From: Chris Janton <email@hidden>
  • Date: Sat, 14 Dec 2002 13:45:35 -0700

Ordinary "find" doesn't have a case-insensitive option, since it grew
up in the Unix world where case does matter.

Second, the "-name" option doesn't take a regex, but rather a glob
pattern. Although some of the operators are similar, they are
distinct beasties, and thinking of one when you mean the other will
lead to bad broken code.

If you do a "man find" and read on you will find...

-iname pattern
Like -name, but the match is case insensitive.

8)
----------------------------------
Chris Janton - face at CentosPrime dot COM
Netminder for Opus1.COM
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Multi Clip Clipboard Help
  • Next by Date: Re: Scope
  • Previous by thread: Re: Shell Script 'find'
  • Next by thread: Replace newer files
  • Index(es):
    • Date
    • Thread