• 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: find problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find problem


  • Subject: Re: find problem
  • From: Luther Fuller <email@hidden>
  • Date: Mon, 04 Aug 2014 13:20:55 -0500

On Aug 4, 2014, at 1:07 PM, Stan Cleveland wrote:

I've not used the -d option, but it sounds promising. Something like this might be worth trying:
do shell script "find -d " & the result & " -name " & filename & " -type d"

I usually add the -s option to traverse hierarchies in alphabetical order and -d to skip directories with a different device number:
do shell script "find -dsx " & the result & " -name " & filename & " -type d"

Thanks. I tried both of these, but still got the same errors.
(Yes, -d did look promising.)

I have read the 'find' man page a couple of times this week-end and did not see anything helpful.
Perhaps there is a unix construction that will allow the errors to be ignored. (?)



 _______________________________________________
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: find problem
      • From: KOENIG Yvan <email@hidden>
References: 
 >find problem (From: Luther Fuller <email@hidden>)
 >Re: find problem (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: find problem
  • Next by Date: Re: find problem
  • Previous by thread: Re: find problem
  • Next by thread: Re: find problem
  • Index(es):
    • Date
    • Thread