Forcing Spotlight to import old chat transcripts

Adium 1.0.3 fixes Spotlight importing of chat transcripts. Unfortunately, this can do nothing for previously created transcripts, since Spotlight doesn’t see them as having changed and so doesn’t reimport them. The solution, however, is simple.

Method A: Yummy GUI goodness

Download this application and run it. It’s a wrapper for method B—all you have to do is double-click on it. It’ll exit immediately; Spotlight will reimport your logs in the background.

Method B: The manual way

Run the following command from Terminal to force Spotlight to reimport all logs:

mdimport -r “/Applications/”

If Adium is installed somewhere besides /Applications, change the path accordingly.

Edited by Peter Hosey to add the GUI version.

4 Responses to “Forcing Spotlight to import old chat transcripts”

  1. Anonymous Says:

    Adium is great, and much better than the other chat clients out there for the Mac, so thank you for your hard work. However, how are you goings on getting webcam support?

  2. DWizzy Says:

    Just a silly precaution, but it seemd to make the fix fail with me:

    be sure to have no active spotlight window when you apply either of the ‘patches.’ I was in the preference pane for spotlight and that made mdimport fail to connect to spotlight’s server.

  3. richard Says:

    How does this work? I don’t see Adium in my Spotlight preferences …h

  4. Peter Hosey Says:

    richard: It Just Works. There’s no need to configure anything.

    In the results, Adium transcripts will appear in the Documents section.