Skip to content

Instantly share code, notes, and snippets.

@massenz
Created September 27, 2018 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save massenz/a93e245282d032ac6af1a7ac24531912 to your computer and use it in GitHub Desktop.
Save massenz/a93e245282d032ac6af1a7ac24531912 to your computer and use it in GitHub Desktop.
MacOS Finder - toggle Hidden Files in Finder
#!/bin/bash
ENABLE=${1:-TRUE}
defaults write com.apple.finder AppleShowAllFiles ${ENABLE}
killall Finder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment