up179w
Last Updated: September 09, 2019
·
2.726K
· dbraga

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!

2 Responses
Add your response

2391

a good job~thanks

over 1 year ago ·
6406

Try Funter (http://nektony.com/funter). It s a free app that does the same, but in few clicks

over 1 year ago ·