Re: recursive dir searching
Re: recursive dir searching
- Subject: Re: recursive dir searching
- From: Rainer Brockerhoff <email@hidden>
- Date: Thu, 10 Apr 2008 20:09:10 -0300
At 11:09 -0700 10/04/08, email@hidden wrote:
>From: "Wesley Smith" <email@hidden>
>Date: Tue, 8 Apr 2008 17:20:25 -0600
>Message-ID: <email@hidden>
>
>I've been trying to use
>NSDirectoryEnumerator *dirEnum = [[NSFileManager defaultManager]
>enumeratorAtPath:dir];
>
>to recursively search for a file in a given directory but am coming
>across some minor details that I'm not sure what the best way to deal
>with is.
I just posted some code (with sample app) which you might find useful for recursive directory searching:
http://www.brockerhoff.net/src/
(scroll down to "FolderSweep").
MIT license (with attribution), so feel free to use it.
HTH,
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
Weblog: http://www.brockerhoff.net/bb/viewtopic.php
_______________________________________________
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