I have a folder on my Mac that I will set up to git-sync with a folder on my web server. I’d like to be able to see the .htaccess
file in this folder without having to unhide hidden files all over the system. Is that possible?
I’m using Mac OS X 10.6.8 (Snow Leopard).
(Mike Scott mentioned in How to show hidden files and folders in finder? that this might not be possible to show only specific files/folders that start with a dot but it would be nice with a definite answer – and instructions for how to do it, if it is indeed possible.)
Best Answer
One way to get around this would be to create a symbolic link to
.htaccess
and call it something without a dot. For example:Then you can open
htaccess
from Finder and you'll actually be editing the.htaccess
file.(You could even make the second command
ln -s .htaccess " .htaccess"
, which would visually look like.htaccess
but be visible because of the leading space.)