Skip to content

Instantly share code, notes, and snippets.

@descubraomundo
Created March 26, 2014 13:36
Show Gist options
  • Save descubraomundo/9783286 to your computer and use it in GitHub Desktop.
Save descubraomundo/9783286 to your computer and use it in GitHub Desktop.
Show / Hide the Spotlight Menu Icon in Mac OS X
#HIDE
sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
killall SystemUIServer
#SHOW
sudo chmod 755 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
killall SystemUIServer
@Ambermarshall
Copy link

This is better:

defaults write com.apple.finder AppleShowAllFiles -boolean true

killall Finder

The reverse is

defaults delete com.apple.finder AppleShowAllFiles

killall Finder

I think This will work or we should go for show hidden files mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment