How does Apple Mac show hidden files?

On the macos system, we can use the simplest method to show hidden files or not to show hidden files. This method is the terminal command.

Show hidden files (pay attention to spaces and capitalization):

defaults write com.apple.finder AppleShowAllFiles -bool true

or

defaults write com.apple.finder AppleShowAllFiles YES

Do not show hidden files:

defaults write com.apple.finder AppleShowAllFiles -bool false

or

defaults write com.apple.finder AppleShowAllFiles NO

After the input is complete, click the Enter key, then exit the terminal directly, and restart the Finder.

Restart the Finder: first force quit the Finder, and then restart the Finder.

The above is the method of displaying hidden files or not displaying hidden files on Apple Mac. I hope it will be helpful to you. If you want to know more about Mac-related knowledge, please follow macz.com!

Guess you like

Origin blog.csdn.net/fox_lori/article/details/113657746