Htaccess files

javanai

Registered
I use htaccess/htpasswd files on my site and since having changed from PC to mac have come up with a small problem; I can't see my htaccess files. How can I make them visible in Osx? Or is there another way of treating this problem?
 
'ls -a' in terminal will show all files, including those with a '.' prefix.

There may be some hack for the finder, but this is what I would/do use.
 
You can find a front-end for the Finder hack here.

TinkerTool is a Preference Pane so you can set some previously-unavailable options in System Preferences. A lot of its old features have outgrown their usefulness, but on the first tab there's still a useful option, "show hidden and system files".

Others will know how to make that hack manually, but this is easier, and safer.
 
TinkerTool (a System Preference pane) has an option to hide/show invisible files in the Finder.

You can also accomplish this with the defaults command:
Show all:
defaults write com.apple.finder AppleShowAllFiles '1'
Hide all:
defaults write com.apple.finder AppleShowAllFiles '0'
Then relaunch the Finder:
kill -HUP `ps aux | grep '[F]inder.app' | awk ' { print $2 } '`
 
Back
Top