Skip to content

Instantly share code, notes, and snippets.

@mikefowler
Last active December 18, 2015 04:08
Show Gist options
  • Save mikefowler/5723063 to your computer and use it in GitHub Desktop.
Save mikefowler/5723063 to your computer and use it in GitHub Desktop.
A bash method for quickly showing or hiding hidden files in OSX.
# USAGE
#
# $ hidden TRUE/FALSE
showHidden() { defaults write com.apple.finder AppleShowAllFiles $1 && killall Finder; }
alias hidden=showHidden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment