Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the '10.5: Force Spotlight to index old Mail messages' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
10.5: Force Spotlight to index old Mail messages
Authored by: jwz on Wed, Jan 30 2008 at 12:23PM PST
There's a much faster way to make Spotlight re-index all of your email: just run "mdimport -f" on each file like so:

find "$HOME/Library/Mail/Mailboxes" -name '*.mbox' -exec mdimport -f '{}' ;

Failing that, you can tell Spotlight to re-index the entire drive by doing:

mdutil -E /


[ Reply to This | # ]
10.5: Force Spotlight to index old Mail messages
Authored by: jwz on Wed, Jan 30 2008 at 12:25PM PST
(There should be a backslash before that final semicolon -- I typed it, but the comment form ate it.)

[ Reply to This | # ]