• 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: KOENIG Yvan <email@hidden>
  • Date: Mon, 04 Aug 2014 21:14:26 +0200


Le 4 août 2014 à 20:20, Luther Fuller <email@hidden> a écrit :

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. (?)

Isn’t it any way to skip folders whose name starts with a dot when navigating in the hierarchy ?


Yvan KOENIG (VALLAURIS, France) lundi 4 août 2014 21:14:22


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