Fixing the spotlight on a Mac
I had a problem today, when I used the spotlight on my mac, that is, the little magnifying glass in the top right hand corner, that it wouldn’t find any applications. Sure, you can work around it, but jeez, was it annoying.
Anyway, after a few searches on the internet, I read this solution, – which worked for me.
Open Terminal, and type
mdimport /Applications
It chugged for a few minutes, and outputted stuff like
2013-02-08 19:18:53.666 mdimport[1072:903] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
2013-02-08 19:18:55.068 mdimport[1072:903] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
2013-02-08 19:18:55.070 mdimport[1072:903] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
2013-02-08 19:18:55.076 mdimport[1072:903] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
2013-02-08 19:18:55.078 mdimport[1072:903] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
2013-02-08 19:18:55.083 mdimport[1072:903] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
Incorrect start/end range ordering; fixing.
Incorrect start/end range ordering; fixing.
Incorrect start/end range ordering; fixing.
Incorrect start/end range ordering; fixing.
2013-02-08 19:27:03.781 mdimport[1072:903] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
And once it was finished, my spotlight was working again!