spotlight

Mac OSX: Indexierung anhalten / deaktivieren und aktivieren

These are instructions on how to disable and re-enable Spotlight indexing on Mac OS X Yosemite, Mavericks, Mountain Lion, and Lion.

How to Disable and Re-Enable Spotlight Indexing on Your Mac

Disable Spotlight
Launch Terminal from the Applications:Utilities folder.
How to Disable and Re-Enable Spotlight Indexing on Your Mac

Input the following command into the Terminal window and press Return.

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
How to Disable and Re-Enable Spotlight Indexing on Your Mac

Enter your administrative password when prompted.
How to Disable and Re-Enable Spotlight Indexing on Your Mac

Notice Spotlight no longer functions as it did.
How to Disable and Re-Enable Spotlight Indexing on Your Mac

Enable Spotlight
To re-enable spotlight simply enter the following command into the Terminal window.

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
How to Disable and Re-Enable Spotlight Indexing on Your Mac

Spotlight will begin indexing again and the feature will work as it did before.
How to Disable and Re-Enable Spotlight Indexing on Your Mac

Mac OS X: Spotlight deaktivieren

Mit Spotlight hat Apple eine sinnvolle Suchfunktion im System. Sie arbeitet permanent im Hintergrund. Gerade auf Rechnern, auf denen viele Dateien erstellt und verschoben werden, zeigt sich Spotlight oft beschäftigt, was sich auf die Leistung auswirkt. Wer die Suche nicht benötigt oder auf eine alternative Software wie Alfred setzt, kann Spotlight abschalten. Geben Sie

sudo mdutil -a -i off¶

im Terminal ein, um alle Spotlight-Prozesse zu beenden und den Dienst abzustellen. Spotlight aktualisiert nun seinen Index nicht mehr, und Sie können keine neuen Dateien über die Suche finden. Um die Indexierung wieder einzuschalten, müssen Sie im Terminal

sudo mdutil -a -i on¶

gefolgt vom Admin-Passwort eingeben. Einfacher geht es mit der Software Onyx: Wählen Sie im Menü Parameter das Tab Spotlight. Dort können Sie alle Haken entfernen. Dies lässt sich auch wieder rückgängig machen.