Spotlight deaktivieren

Gerade wenn man eine Festplatte anschließt, auf der Daten unabsichtlich gelöscht wurden und man nun versuchen möchte auf diese Platte eine Datenrettung durchzuführen, startet Spotlight beflissen einen Index-Vorgangang und überschreibt vielleicht dadurch gleich einige der gelöschten Daten: Deshalb diese Anleitung, um Spotlight zu deaktivieren (eigentlich von hier):

Disabling Spotlight

1. Launch Terminal and type the following:sudo nano /etc/hostconfig2. Navigate using the arrow keys down the following entry:SPOTLIGHT=-YES-3. ChangeSPOTLIGHT=-YES- to SPOTLIGHT=-NO-4. Save /etc/hostconfig by hitting Control-O and the return key, next hit Control-X to exit the nano editor 5. Next, you’ll want to disable the index by typing the following in the Terminal:mdutil -i off /6. And to erase the current Spotlight index, type:mdutil -E /7. That’s pretty much it, on your next reboot, Spotlight will be completely disabled.

Re-Enable Spotlight

1. If you want to enable Spotlight again, follow the same steps as above, but change SPOTLIGHT=-NO- to SPOTLIGHT=-YES- 2. and then type mdutil -i on / in the Terminal 3. Reboot, and Spotlight is back as usual
This entry was posted in OS X, terminal and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CAPTCHA:


4 − three =

Subscribe without commenting

  • Seite übersetzen:


    Paypal for Pizza:




  • Kategorien


  • Letzte Kommentare

    • Niklas: Vielen Vielen Dank! So klappt es!
    • hubi: Servus Niklas, ich habe mir den Quellcode noch einmal angesehen und habe nun unter 10.7.3 einen Weg gefunden...
    • Niklas: Klingt super das Script. Leider bekomm ich immer folgende Fehlermeldung: error “„Mail“ hat einen Fehler...
    • Jürgen: Hallo Hubi, beim Abfragen von Kennworten gibt es noch eine böse Falle: Das Format, in dem security antwortet,...
    • hubi: Am einfachsten Du öffnest im AppleScript-Editor mal das Funktionsverzeichnis (unter Ablage) von iTunes. Ein...