Re: Looking for help scanning entire drives
Re: Looking for help scanning entire drives
- Subject: Re: Looking for help scanning entire drives
- From: Andreas Grosam <email@hidden>
- Date: Wed, 23 Feb 2011 12:46:18 +0100
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 :)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden