Adium chat logs not indexed on Leopard

My Adium chat logs were not being indexed by Spotlight under Leopard. I went inside the Adium package, in /Applications/Adium/Contents/Library/Spotlight, double-clicked the AdiumSpotlightImporter… and it didn’t change anything. Still no result.

What to do? Keep looking.

Update: It gets weirder. The mdfind utility actually finds the chat logs I’m looking for, but they don’t appear as results in the Spotlight menu or window. Every item is enabled in the Spotlight pref pane. If I move a chat log out of the ~/Library/Application Support/Adium 2.0/bla bla bla/logs folder, e.g. on the Desktop, Spotlight finds it. Somehow the Spotlight menu decides not to return results from within ~/Library…

Update 2: Argh. In order for Spotlight to return results from within ~/Library, you have to specify that you want to see results from “System Files”. Of course, items such as emails from Apple Mail are not considered as “System Files”, only third-party application files. Bad, bad move.

This entry was posted in Technology and tagged , , , , , . Bookmark the permalink.

4 Responses to Adium chat logs not indexed on Leopard

  1. Pingback: Apple Blog » Blog Archive » Spotlight in 10.5 skips over user Library files

  2. Pingback: feed me apple snacks » Spotlight in 10.5 skips over user Library files

  3. You’ve probably figured it out by now, but the solution is to move the chat logs folder to ~/Documents and to create a symlink from here to the original location. I did (in a Terminal window):

    cd ~/Documents

    mv ~/Library/Application\ Support/Adium\ 2.0/Users/Default/Logs ./Adium\ Chats

    cd ~/Library/Application\ Support/Adium\ 2.0/Users/Default

    ln -s ~/Documents/Adium\ Chats ./Logs

    mdimport ~/Documents/Adium\ Chats

    Voilà!

  4. Jim Govoni says:

    wow, thank you so very much for that.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s