• 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: What have I done? / do shell script mystery
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What have I done? / do shell script mystery


  • Subject: Re: What have I done? / do shell script mystery
  • From: Shane Stanley <email@hidden>
  • Date: Sat, 22 Oct 2005 20:54:16 +1000
  • Thread-topic: What have I done? / do shell script mystery

On 22/10/05 8:10 PM, "Richard Rönnbäck" <email@hidden>
wrote:

> For a very long time I have relied on the calling  the Unix "find" command
> through "do shell script" Suddenly it gives me only one (at best) file back.
> So this:
>
> do shell script "find '/Test' -iname  *.txt -type f"
>
> Will only give one file back, even though the same command in the terminal
> will behave correctly and return all the files

What happens if you put quotes around *.txt:

 do shell script "find '/Test' -iname  '*.txt' -type f"

?

--
Shane Stanley <email@hidden>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: What have I done? / do shell script mystery
      • From: Richard Rönnbäck <email@hidden>
References: 
 >What have I done? / do shell script mystery (From: Richard Rönnbäck <email@hidden>)

  • Prev by Date: What have I done? / do shell script mystery
  • Next by Date: Re: What have I done? / do shell script mystery
  • Previous by thread: What have I done? / do shell script mystery
  • Next by thread: Re: What have I done? / do shell script mystery
  • Index(es):
    • Date
    • Thread