Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a web developer. I really need to use .htaccess file.
How can make Finder show only the .htaccess file and not all the file prefixed with .?

I am running OS X Lion.

share|improve this question
Good question!! I need this too. – daviesgeek Oct 19 '11 at 18:55
up vote 6 down vote accepted

To my best knowledge, you cannot selectively display dot files in Finder. However, if you just need a way to easily open them via Finder, you could create a symlink to the file in its directory, omitting the dot in the name, i.e.:

  1. open Terminal, cd into your folder;
  2. ln -s $PWD/.htaccess $PWD/htaccess.

You can then open the file by double-clicking the newly created link, select an editor in the link’s context menu etc. However, if you want to copy, up- or download your .htaccess file, you are stuck with Terminal, full display of all dot files, or temporarily renaming the file (to _htaccess, say).

share|improve this answer

Tried many method, the best way for me is use Houdini.
Houdini can easily hide and display all hidden.

share|improve this answer
Didn’t you specifically ask for a solution that does not display all dot files (“How can make Finder show only the .htaccess file and not all the file prefixed with .?”)? Houdini doesn’t do that, AFAIK. – kopischke Mar 25 '12 at 20:54
Thanks for the app, at least this is less painful than opening the terminal. – Diego Vieira Dec 5 '14 at 10:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.