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

Click here to return to the 'Spotlight does this too' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Spotlight does this too
Authored by: mzso on Jan 06, '09 12:07:20PM

I'm not sure what you mean regarding "looking for content". If I get it right, you wrote that your tool is not much faster than "find" when looking for content too (it might be similiar or slower in speed than "find" ... this is not trivial from that sentence).

I don't understand how "find" and "looking for content" come together. "find" has no options that allow you to look for content. Of course you can use the "-exec" with eg. grep, but that's a completely different story (since in this case "find" would launch another tool/process to do the string search, which is of course not comparable to solutions where the file search tool opens the file itself and looks for the string). Imho a tool ,that does both the file search and the string search itself, must be faster than find+grep, when looking for content.

Another good question is: how can your tool be faster than "find" (when looking just for names) if your tool does not utilize an index (sort of database to speed up search)? And if it does, than how much can it be different from Spotlight?

[ Reply to This | # ]
Spotlight does this too
Authored by: mzso on Jan 06, '09 12:10:51PM

Sorry. The prev. post was a reply to tempel's post on Tue, Jan 6 2009 at 8:28AM PST. I opened two reply screens and posted the prev. answer in the wrong textarea.

[ Reply to This | # ]