Skip to content

Instantly share code, notes, and snippets.



Created Nov 29, 2017
What would you like to do?
Mac Hide/Show Hidden Files
## Put these in your .bash_profile found in your home directory
## in the terminal type source ~/.bash_profile to reload your profile to make them immediately usable or close and re-open Terminal
# Hide and show hidden files in Finder windows
alias showFiles='defaults write AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/'
alias hideFiles='defaults write AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment