Skip to main content

Show hidden files in Mac Finder by default

Published: 2019-10-11

# A one-time thing

  1. Press Command - Shift - . to toggle hidden files when in Finder

# Make it permanent

  1. Set the default

     defaults write AppleShowAllFiles YES
  2. Confirm that the default is set

     defaults read AppleShowAllFiles
  3. Hold Option key, right-click Finder, then click Relaunch to pick up the new default

# Revert it

  1. In the write command above, replace YES with NO

     defaults write AppleShowAllFiles NO