10

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.

1
  • Good question!! I need this too.
    – daviesgeek
    Oct 19, 2011 at 18:55

2 Answers 2

6

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).

1

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

2
  • 1
    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, 2012 at 20:54
  • Thanks for the app, at least this is less painful than opening the terminal. Dec 5, 2014 at 10:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .