Skip to content

Instantly share code, notes, and snippets.

@matthewblott
Last active December 3, 2021 16:26
Show Gist options
  • Save matthewblott/80ada8f085a75df647d1c5d5c04eb791 to your computer and use it in GitHub Desktop.
Save matthewblott/80ada8f085a75df647d1c5d5c04eb791 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# mac services
# https://gist.github.com/marcelaraujo/9a9fe07c5a4bcaea8c06
# disable SIP from recovery mode
csrutil disable
# disable spotlight indexing
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
# deleted
#/Library/LaunchDaemons/com.apple.installer.cleanupinstaller.plist
# empty
#/Library/LaunchDaemons
#/Library/LaunchAgents
#/System/Library/StartupItems/
#/Library/StartupItems/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment