Show Hidden Files on Mac

Show Hidden Files Mac OS X El Capitan:

  • Enter the following text into the Terminal window, then press “Enter“:

defaults write com.apple.Finder AppleShowAllFiles YES

  • Exit the Terminal program. This can be done by selecting “Quit Terminal” from the Terminal menu.
  • Restart Finder. Your new setting will take effect after you relaunch finder. To do so, hold down the “Alt” key and right-click or two-fingered click on the Finder icon. Select “Relaunch.”

control/alt Finder

Hiding Files On Mac OS X El Capitan:

  • Enter the following text into the Terminal window, then press “Enter“:

defaults write com.apple.Finder AppleShowAllFiles NO

  • Exit the Terminal program. This can be done by selecting “Quit Terminal” from the Terminal menu.
  • Restart Finder. Your new setting will take effect after you relaunch finder. To do so, hold down the “Alt” key and right-click or two-fingered click on the Finder icon. Select “Relaunch.”

control/alt Finder