Apple MacOS Finder show hidden files and directories

MacOS Finder app has built-in ability to display hidden files and directories, but there is no UI options or settings to toggle the feature on/off. Instead we have to use keyboard shortcut or Terminal command to toggle the display of hidden files and directories.

Toggle the display of hidden files or directory using the following shortcut in Finder:

Command+Shift+.(dot) key

To make the Finder to permanently display hidden files and directory, execute the following command in Terminal

defaults write com.apple.Finder AppleShowAllFiles true && killall Finder

To make the Finder to permanently hide hidden files and directory, execute the following command in Terminal

defaults write com.apple.Finder AppleShowAllFiles false && killall Finder


Comments

Popular posts from this blog

Export/Backup Ollama Model

JSON with curl and jq

Import self signed in Linux for Chrome / Chromium headless testing