参考链接:http://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/
Show/Hide Hidden Files the Long Way
- Open Terminal found in Finder > Applications > Utilities
- In Terminal, paste the following:
defaults write com.apple.finder AppleShowAllFiles YES
- Press return
- Hold ‘alt’ on your keyboard, then right click on the Finder icon in the dock and click Relaunch.
This will show all hidden files. To hide them again, follow the same steps but replace the Terminal command with:
defaults write com.apple.finder AppleShowAllFiles NO