Mac computer show\hide files or folders

Friends who have just used the Mac system may not be familiar with Finder, and do not know how to display hidden files and how to set files to be invisible. In fact, it is more convenient for Mac computers to show\hide any files or folders, let’s learn together

1. Create and modify invisible files or folders

In the Mac system, if you want to hide any file or folder, you only need to add a . (English "dot") before the file name .  

 2. Show and hide invisible files or folders

Open the "Terminal", paste the following code and press Enter:

  • show invisible files
  • defaults write com.apple.finder AppleShowAllFiles -bool true
    killAll Finder
  • hide invisible files
  • defaults write com.apple.finder AppleShowAllFiles -bool false
    killAll Finder

Guess you like

Origin blog.csdn.net/Nean_Zhou/article/details/129934895