Skip to content

Instantly share code, notes, and snippets.

@lwillek
Last active June 23, 2024 08:23
Show Gist options
  • Save lwillek/ff03f5c24671b128d6d0f2ae3225eb4b to your computer and use it in GitHub Desktop.
Save lwillek/ff03f5c24671b128d6d0f2ae3225eb4b to your computer and use it in GitHub Desktop.
How to Show Hidden Files on MacOS Finder

Using Finder is the simplest way to find hidden files.

  • Press Command + Shift + . (the period key). This will show hidden files in the folder.
  • To hide the files again, press Command + Shift + . again.
  • You can also click your desktop and press Command + Shift + . to show hidden files on your desktop.

Permanent configuration

Use the Terminal to configure how hidden files are shown.

defaults write com.apple.Finder AppleShowAllFiles true
killall Finder
open .

To hide the hidden files again, change the boolean true to false.

defaults write com.apple.Finder AppleShowAllFiles false
killall Finder
open .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment