I’m blogging about this so I don’t forget how to do it, but some of you may find it useful too.
I needed to edit my .htaccess file from my web server, but when I downloaded it to my desktop (OS X), the file magically disappeared. So I downloaded it again. This time it asked me if I wanted to overwrite the existing .htaccess file on my desktop. That’s when it hit me, .htaccess is a hidden file. Duh!
I did a quick scan in Finder for a “Show Hidden Files” option, but I had no luck. Google here we come. And this is what I found.
In a terminal, type the following:
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
To revert back to the way it was, repeat the above step, but this time replace the TRUE value with a FALSE value. Voila! Nice and easy.
Tags: apple, coding, hacks, how to, mac, osx









