shortcut key to show hidden files 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: mac hidden files shortcut
Toggle hidden files on macOS: Command + Shift + .