1、显示隐藏文件
显示:defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false
2、显示文件路径
显示:defaults write com.apple.finder _FXShowPosixPathInTitle -bool TRUE;killall Finder
隐藏:defaults delete com.apple.finder _FXShowPosixPathInTitle;killall Finder