Complete Filename Searching
Complete Filename Searching
- Subject: Complete Filename Searching
- From: Thom McGrath <email@hidden>
- Date: Tue, 24 Jul 2007 06:40:57 -0400
Hello all,
I wouldn't consider myself a Cocoa newbie, but I know I still have
much to learn. I have come across a question I cannot find an answer
to using the archives or other support sites. Hopefully somebody can
point me in the right direction.
I need to do a filename search of the entire system. Spotlight leaves
out many directories, such as ~/Library, which I do need to search.
As an example, searching for SubEthaEdit should return /Applications,
~/Library/Preferences/de.codingmonkeys.SubEthaEdit.plist, ~/
Application Support/SubEthaEdit... and so. You get the idea.
I have tried using NSDirectoryEnumerator, but as I expected, it's
slow. Actually, slow would be an understatement - for this case, it's
completely intolerable.
So is there another API I can use? Or a way to ask Spotlight to
search everything - though I think that's impossible because I
believe Spotlight does not index the special directories.
Thanks for the help.
--
Thom McGrath
The ZAZ Studios
<http://www.thezaz.com/> AIM: thezazstudios
_______________________________________________
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