Quick show/hide hidden file in Mac OS X
I like to have an alias to quickly switch between hide/show hidden files mode in my finder.
Just type this in your terminal:
echo 'alias hhf="defaults write com.apple.finder AppleShowAllFiles FALSE;killall Finder"
alias shf="defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder"' >> ~/.bashrc && . ~/.bashrc
This will
- add hhf and shf to as aliases to your barshrc
- reload your finder to load the new setting
- reload the bashrc
From now on you can use
hhf to hide your hidden files from the finder
shf to show your hidden files from the finder
Cheers!
Written by Damiano
Related protips
2 Responses
a good job~thanks
over 1 year ago
·
Try Funter (http://nektony.com/funter). It s a free app that does the same, but in few clicks
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Macosx
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#