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: "Mark J. Reed" <email@hidden>
- Date: Sat, 02 Apr 2011 18:07:12 -0400
On Apr 2, 2011, at 1:19 PM, Nathan Greenstein wrote:
>
> do shell script "find ~/Desktop ."
That's starting the find from two directories: the user's Desktop, and
whatever the current directory is when the script is run. From 'do
shell script', . = /, which means you're running find against the
contents of the entire hard drive.
What is the actual find command you're running? All that one does is
spit out the names of all the files under those two directories (some
of them twice if '.' is somewhere above or below Desktop).
--
Mark J. Reed <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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden