Created
November 29, 2017 22:58
-
-
Save davetrux/f7fd0225ca0ce757601f8bc3c64098fd to your computer and use it in GitHub Desktop.
Mac Hide/Show Hidden Files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment