• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Complete Filename Searching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Complete Filename Searching
      • From: Rush Manbert <email@hidden>
    • Re: Complete Filename Searching
      • From: Andy Lee <email@hidden>
    • Re: Complete Filename Searching
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: Re: ASScriptMenuManager
  • Next by Date: Re: Complete Filename Searching
  • Previous by thread: RE: How to get custom widgets into nib file window ?
  • Next by thread: Re: Complete Filename Searching
  • Index(es):
    • Date
    • Thread