Home > Operation and Maintenance > Mac OS > What is the method to display hidden files or not to display hidden files in macos system?

What is the method to display hidden files or not to display hidden files in macos system?

王林
Release: 2021-01-06 09:24:06
forward
3650 people have browsed it

What is the method to display hidden files or not to display hidden files in macos system?

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

(Learning video sharing: Programming video)

Show hidden files (note spaces and capitalization):

defaults write com.apple.finder AppleShowAllFiles -bool true
Copy after login

or

defaults write com.apple.finder AppleShowAllFiles YES
Copy after login

Do not display hidden files:

defaults write com.apple.finder AppleShowAllFiles -bool false
Copy after login

or

defaults write com.apple.finder AppleShowAllFiles NO
Copy after login

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

Restart Finder: First force quit Finder, and then restart Finder.

Related recommendations: macos system

The above is the detailed content of What is the method to display hidden files or not to display hidden files in macos system?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template