Re: find problem
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