Mein Mac: rette mich, Spotlight frisst meine Festplatte!

Ein Problem mit dem Macbook Air M1.
Die Maschine ist gar nicht schwach, 16 GB Arbeitsspeicher / 1 TB Festplatte.
Früher (2022) war es mein Traumnotebook gewesen, ist aber immer noch ein gutes Mac.

Plötzlich habe ich das Problem dass meine Festplatte fast voll ist.
Nicht zum ersten Mal.
Ich habe also zuerst gen ganezn „Müll“ von XCode entfernt, das half ein wenig, aber weniger als erhofft.
Voriges Mal habe ich lange nach der Ursache gesucht, und das Problem schien Spotlight zu sein.
Ich habe vermutet, dass jetzt es auch so ist.

Also, bei Problemen mit dem „gierigen“ Spotlight, wie KI zurät (und was mir wirklich hilft):

  1. Open the Terminal application.
  2. Enter the following command to disable Spotlight indexing for all volumes: sudo mdutil -a -i off.
  3. Enter the following command to delete the old Spotlight index files: sudo mdutil -aE.
  4. Finally, enter the command to re-enable Spotlight indexing for all volumes: sudo mdutil -a -i on.
  5. You will be prompted to enter your administrator password for the sudo commands. 

Bei mir sind nun also 425 GB frei. Natürlich wird es später weniger, kann aber damit leben.