up179w
Last Updated: February 25, 2016
·
2.596K
· dbraga
1b57070ac827b4f795ba83f3861c34af

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!

Say Thanks
Respond

2 Responses
Add your response

2391
389ddda236c408b1198f6f2ad1eb2663

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 ·
Filed Under