• 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: Simon Topliss <email@hidden>
  • Date: Sat, 14 Dec 2002 20:00:41 +0000

Never mind. I missed the '-iname' option. This does exactly what I needed.

Simon

On 14/12/02 3:49 pm, "Simon Topliss" <email@hidden> wrote:

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

References: 
 >Shell Script 'find' (From: Simon Topliss <email@hidden>)

  • Prev by Date: Re: Unwanted Comma in output file name
  • Next by Date: Re: Scope
  • Previous by thread: Shell Script 'find'
  • Next by thread: Re: Shell Script 'find'
  • Index(es):
    • Date
    • Thread