open hidden directory on mac code example
Example 1: mac show hidden files
>> To show hidden files, hold down: Cmd + Shift + . (dot)
>> Hold down Cmd + Shift + . (dot) a second time to hide the files again.
Example 2: show hidden files mac
defaults write com.apple.Finder AppleShowAllFiles true