Re: What have I done? / do shell script mystery
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