显示:defaults write com.apple.finder Apple ShowAllFiles -bool true 隐藏:defaults write com.apple.finder App leShowAllFiles -bool false