Re: Do shell script: find . takes forever; throws permissions error
Re: Do shell script: find . takes forever; throws permissions error
- Subject: Re: Do shell script: find . takes forever; throws permissions error
- From: Nathan Greenstein <email@hidden>
- Date: Sat, 02 Apr 2011 13:06:52 -0700
What I'm doing is searching for filesĀ
on the desktop that meet some conditions (the rest of the script).
So, what I've got to work:
do shell script "cd ~/Desktop; find ."
Let me know if there's a problem with that way.
Thanks!
--
Nathan Greenstein
email@hidden
On Sat, Apr 2, 2011 at 13:00, Matthew Smith
<email@hidden> wrote:
On 03/04/2011, at 05:57 , Nathan Greenstein wrote:
That sounds like the problem!
So, should I put in a cd or something?
I'm sureĀ this is obvious, but I've never tried it before...
do shell script "find ~/Desktop ."
Replace that period at the end with the directory you want to search for.
If this it is the user's home directory then why are you searching Desktop twice?
Matthew Smith
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden