• 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
Shell Script 'find'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shell Script 'find'


  • Subject: Shell Script 'find'
  • From: Simon Topliss <email@hidden>
  • Date: Sat, 14 Dec 2002 15:49:55 +0000

If I have have the following script:

do shell script "find " & searchFolder & " -name " & searchStr

The variables are Posix path and quoted form.

How do I tell the 'find' program to ignore case of the variable 'searchStr'?

Is it even possible? I see that regex has 'REG_ICASE', but I can't find any
examples as to how to use it and don't know if will help anyway.

TIA,

Simon
_______________________________________________
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.

  • Follow-Ups:
    • Re: Shell Script 'find'
      • From: Simon Topliss <email@hidden>
  • Prev by Date: Re: Getting Internet Explorer 5.2 window name
  • Next by Date: Make a file visible
  • Previous by thread: Re: Using JavaScript OSA ?
  • Next by thread: Re: Shell Script 'find'
  • Index(es):
    • Date
    • Thread