At this time, under the official 10.10.1, the script is running since more than 15 minutes. In Activity Monitor, Script Editor is said to use more or less 100% of one heart of the processor. I guess that it's due to the piece of code :
-- is it a symlink? set {theResult, theValue, theError} to (anItem's getResourceValue:(reference) forKey:(current application's NSURLIsSymbolicLinkKey) |error|:(reference)) if theValue as boolean then set isFile to false end if
which is executed for every non-folder file.
I let it running to see if it reach the end of the scan.
Yvan KOENIG (VALLAURIS, France) vendredi 9 janvier 2015 10:42:11
|