Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Spotlight? | 18 comments | Create New Account
Click here to return to the 'Spotlight?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Spotlight?
Authored by: jediknil on Jun 24, '08 08:28:52PM

Um, if you have Tiger or Leopard, Spotlight can do this sort of thing for you with a Saved Search. It's a little harder to filter out the Applications, but it's possible, and it'll auto-update. (As of Leopard Spotlight is a lot better, too; I actually use it now.)



[ Reply to This | # ]
Spotlight?
Authored by: S on Jun 25, '08 03:21:07AM

How do you get Spotlight to search inside bundles?



[ Reply to This | # ]
Spotlight?
Authored by: lar3ry on Jun 25, '08 07:40:40AM

Actually, using the "locate" database (if you are running updatedb on a regular basis) would probably be a good compromise of using a brute-force "find" (even Perl's Find package) and Spotlight (with its inherent limitations).

"locate .icns" should probably run faster than the Perl Find, albeit maybe not quite as fast as a true Spotlight search, since both locate and Spotlight simply query a database instead of traversing every file on every mounted volume in real time. (The locate database is created regularly by updatedb, but this may or may not be enabled in a typical OS X install; it's easy enough to enable, though.)

I leave the mechanism of using locate instead of Perl Find as an exercise for the reader.



[ Reply to This | # ]