On Feb 23, 2011, at 5:46 AM, Andreas Grosam wrote: > > On Feb 23, 2011, at 12:37 PM, Andreas Grosam wrote: > >> If there is no appropriate free or commercial tool which could solve your >> problem already, I would suggest the following: >> >> 1) Use a NSDictionaryEnumerator in order to recursively iterate through a >> specified dictionary at any volume. >> 2) For each file item, >> 3) skip it if you don't want to process it, or >> 4) retrive file name (url), modification date and whether it is a dictionary >> 4.1) process the file item > > > Ups, replace "NSDictionaryEnumerator" with "NSDirectoryEnumerator" and > "dictionary" with "directory" in the description. > > It should read: > 1) Use a *NSDirectoryEnumerator* in order to recursively iterate through a > specified *directory* at any volume. > 2) For each file item, > 3) skip it if you don't want to process it, or > 4) retrive file name (url), modification date and whether it is a *directory* > ... > > Sorry for the mistake :)
If you’re scanning the entire drive, FSCatalogSearch is likely to be a lot faster than NSDirectoryEnumerator. Charles_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com