Show Hidden Dot Files and Directories In macOS a file or directory starting with . is considered a hidden file. To show/hide these files in Finder, type CMD + SHIFT + .