Skip to content

Instantly share code, notes, and snippets.

@jackreichert
Created May 25, 2015 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackreichert/a7565ead23ba77a37614 to your computer and use it in GitHub Desktop.
Save jackreichert/a7565ead23ba77a37614 to your computer and use it in GitHub Desktop.
Show/Hide Files alias - OSX Yosemite
alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES;
killall Finder /System/Library/CoreServices/Finder.app'
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO;
killall Finder /System/Library/CoreServices/Finder.app'
@jackreichert
Copy link
Author

Run these in your terminal.
Then whenever you need to show/hide your files just type showFiles or hideFiles.

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