Home » Questions » Computers [ Ask a new question ]

How to show .htaccess files in specific folder in the Finder

How to show .htaccess files in specific folder in the Finder

I need to see my .htaccess files for the websites i develop locally on my Mac OS X. I put all my sites in the Sites folder. Since it starts with a dot, Mac OS X treats them as system - therefore invisible - files.

Asked by: Guest | Views: 276
Total answers/comments: 2
Guest [Entry]

"I'm afraid this isn't possible. It is just all or nothing. Here are a few alternatives to make it a bit smoother:

The Apple Hidden Files Widget. Toggle the hidden files with one click, works for me. Widget
Use a third party app for finding hidden files. For example, Path Finder from Cacao Tech. It makes it possible to view hidden files without your finder being messed up with all those files.

Hope this helps.."
Guest [Entry]

"I found a couple of site which helped me to build a service using Automator which allows you to show and hide all files from the services menu (Finder > Service)

This site gave me the code:
theappleblog.com/2007/04/30/quick-tip-showhide-hidden-files/

And this one told me what I needed to do to get the service to show in the menu.
langui.sh/2009/11/19/building-services-using-automator-workflows-in-snow-leopard-10-6/

(sorry for no links, apparently I can only post one hyperlink until I have more reputation)

I ended up setting 'Service receives' to 'no input' in 'Finder.app' as this means that it is always shown in the services menu of Finder instead of having to have a file or folder selected.

You could probably make this work better so it only shows all files for the folder selected, but I don't know enough about shell scripting to know hoe to do this."