How do I show hidden files in one directory only? I have a development folder that I'd like to see hidden files in, but I don't want to see hidden files anywhere else on my computer.

Here is the code I tried in the terminal to show all hidden files but it's not what I want. Thanks!

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
  • If these aren't dotfiles then you can just use chmod nohidden. If there's a specific dotfile you want you can make a symlink or alias. But there's no way to do this like you can in Windows.
    – 0942v8653
    Commented May 28, 2014 at 14:11

1 Answer 1


This isn't possible. You can either show all hidden files or hide all hidden files. This setting can't be set for individual folders.

See this Super User question regarding .htaccess

You must log in to answer this question.

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