• 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: 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

  • Follow-Ups:
    • Re: Do shell script: find . takes forever; throws permissions error
      • From: Matthew Smith <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: Matthew Smith <email@hidden>)
 >Re: 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: Matthew Smith <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