• 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: Do shell script: find . takes forever; throws permissions error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Do shell script: find . takes forever; throws permissions error (From: Nathan Greenstein <email@hidden>)
 >Re: Do shell script: find . takes forever; throws permissions error (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Do shell script: find . takes forever; throws permissions error
  • Next by Date: Re: Do shell script: find . takes forever; throws permissions error
  • Previous by thread: Re: Do shell script: find . takes forever; throws permissions error
  • Next by thread: Re: Do shell script: find . takes forever; throws permissions error
  • Index(es):
    • Date
    • Thread