Skip to content

Instantly share code, notes, and snippets.

@marando
Created June 16, 2016 23:52
Show Gist options
  • Save marando/e610fa609ab579faf5f650e9442005c1 to your computer and use it in GitHub Desktop.
Save marando/e610fa609ab579faf5f650e9442005c1 to your computer and use it in GitHub Desktop.

Easy Show/Hide of Hidden Files in OS X

Add this to your .bash_profile:

alias showFiles='defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder'
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO;killall Finder'

Then from a terminal just run showFiles to show hidden files and hideFiles to hide them again.

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