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

Click here to return to the 'SpotlightIndexer doesn't work, but this does...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
SpotlightIndexer doesn't work, but this does...
Authored by: sjonke on Feb 23, '06 08:20:02AM

SpotlightIndexer does not actually appear to work, at least for the moment (version 0.2.1b). It churns away, but at least on my Mac it doesn't actually end up indexing anything! I suspect the author had temporarily put the -n argument into the "mdimport" command, which makes it go through the motions but not actually do anything, and they forgot to take it back out. Just a guess. Anyway, the following command at the terminal will index your entire hard drive:

mdimport -f /

Note, however, that I don't think this will be able to index anything for which you don't have read access to. I guess you could put "sudo" in front of that command if you do want to index absolutely everything. Note also that you will get a lot of warnings about .zip files, but it still seems to work (though I didn't try searching for any of those .zip files - perhaps they didn't get added to the index.)

Actually, I only tried this so far with /usr, but it did work for that directory. I'm currently indexing /, but it isn't complete as I write this. Also, you might want to see my other messages in this discussion for info on an apparent indexing bug I ran into that prevent a certain file from being found.

--- What?

[ Reply to This | # ]