How to see hidden files on macOS

Once, a friend gave me a flash drive with documents that he wrote down on a MacBook and I connected it to a computer with a Windows operating system and it turned out that the flash drive contained a lot of other information that my friend deleted on MacOS but didn’t empty the trash, and in this case the files simply moved to a hidden folder.
Therefore, it is sometimes useful to see hidden files on MacOS.

The easiest way to enable hidden files on MacOS is to press a key combination
Command + Shift +. (dot)
Pressing it again will turn off the display of hidden files.

The second way is to execute the command in the terminal:

defaults write AppleShowAllFiles TRUE ; killall Finder

And to disable the display of hidden files:

defaults write AppleShowAllFiles FALSE ; killall Finder

See also my article:
Replacement HDD for fast SSD in Apple MacBook Pro

Leave a comment

Leave a Reply