At 11:09 -0700 10/04/08, [EMAIL PROTECTED] wrote:
>From: "Wesley Smith" <[EMAIL PROTECTED]>
>Date: Tue, 8 Apr 2008 17:20:25 -0600
>Message-ID: <[EMAIL PROTECTED]>
>
>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 PROTECTED]>
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 (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 [EMAIL PROTECTED]

Reply via email to