• 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: Thomas Fischer <email@hidden>
  • Date: Sun, 03 Apr 2011 00:32:42 +0200

Hi Nathan,

I rather us would use "list files" in the satimage sax. But if you want to use unix, you might try
do shell script "cd ~;find ~/Desktop"

Cheers
Thomas


Hi All,
When I run a script like the below from Terminal it is instant and successful.
find ~/Desktop .
Even though it returns a gazillion files, it's really fast.
But, when I run that from an AppleScript like below, it takes a very, very long time and eventually gives a permissions error.
do shell script "find ~/Desktop ."

Can someone help me figure out what's going wrong and how to fix it?
Thanks!
--
Nathan Greenstein
email@hidden



Mit freundlichen Grüßen
Thomas Fischer


 _______________________________________________
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>)

  • Prev by Date: Re: Do shell script: find . takes forever; throws permissions error
  • Next by Date: Re: Find all PowerPC Applications in Applications folder
  • Previous by thread: Re: Do shell script: find . takes forever; throws permissions error
  • Next by thread: Re: MacPorts vs xquartz? (was Re: openmotif in macports dependencies and xquartz?)
  • Index(es):
    • Date
    • Thread