1

This question already has an answer here:

In terminal I ran:

defaults write com.apple.finder AppleShowAllFiles TRUE

and

killall Finder

If I CMD + SHIFT + G /usr/local/.git I can see the folder.

However, if I CMD + SHIFT + G and go to /usr/local I cannot see the folder.

marked as duplicate by Am1rr3zA, bmike Feb 28 '15 at 3:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    <kbd> the key </kbd> – Ruskes Feb 27 '15 at 17:00
  • you mean /usr/local/git, without using the (.) so not the /usr/local/.git – Ruskes Feb 27 '15 at 18:13
  • @Buscar웃 I'm using a (.). The OP is correct as is. Now if that's the correct way to do it I dunno :) – P.Brian.Mackey Feb 27 '15 at 19:12
  • normally system wont let you use a (.) in front of a folder or file name. You can’t use a name that begins with a dot “.”, because these names are reserved for the system. Please choose another name. – Ruskes Feb 27 '15 at 19:29
  • This is not a folder I created. It is a convention used by Git. The particular folder is part of the homebrew project. – P.Brian.Mackey Feb 27 '15 at 19:53
3

You have to let Finder know that you want a Boolean value (true or false):

defaults write com.apple.finder AppleShowAllFiles -bool TRUE
2

Shift-Command-Period shows and hides the files in open/save dialogs, it might work in the main Finder.

  • This does not work for me. – P.Brian.Mackey Feb 27 '15 at 19:55
  • Works for me on Sierra, but it might have been added fairly recently. – John Y Nov 6 '17 at 20:00

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