开启显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool true
关闭显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool false
不隐藏资源库
chflags nohidden ~/Library/
隐藏资源库
chflags hidden ~/Library/
开启显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool true
关闭显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool false
不隐藏资源库
chflags nohidden ~/Library/
隐藏资源库
chflags hidden ~/Library/