Because the hidden files of mac cannot be seen, Baidu has a lot of methods to display hidden files, but it is not feasible. nice command,
Step 1: Open the Terminal application.
Step 2: Enter the following command:
defaults write com.apple.finder AppleShowAllFiles TRUE ; killall Finder
Step 3: Press the "Return" button.
This will allow you to see hidden files and folders in the Finder window.
Likewise, if you want to hide those original hidden files and folders again, replace the command in the above step with
defaults write com.apple.finder AppleShowAllFiles FALSE ; killall Finder
That's it.