Skip to content

Instantly share code, notes, and snippets.

@andretw
Last active August 29, 2015 14:01
Show Gist options
  • Save andretw/ed3f05700120c813981c to your computer and use it in GitHub Desktop.
Save andretw/ed3f05700120c813981c to your computer and use it in GitHub Desktop.
Some useful tips for Mac OS X
## change the default location (path) of screen shots.
defaults write com.apple.screencapture location ~/Desktop/screenshots/
#
# Disable/Enable Spotlight
#
## Disable Spotlight
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
## Enable Spotlight
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment