How to enable/ disable hidden files in MacOS

Views: 162 Ask New Question


I see that by default mac hides all hidden files (files start with .) how can i enable those?

On By

1 Answer


You can simple run the following commands to enable/ disable hidden files in MacOS.

To Enable

defaults write com.apple.finder AppleShowAllFiles YES

To Disable

defaults write com.apple.finder AppleShowAllFiles NO

In both the cases you need to relaunch the Finder to see the effect

On By


Answer This Question