Mac下Finder里隐藏/恢复文件

chflags hidden/nohidden [file-name]

另,显示或隐藏".*"类型的默认隐藏文件

defaults write com.apple.finder AppleShowAllFiles -bool YES/NO
killall finder
原文地址:https://www.cnblogs.com/maizhongfei/p/3994554.html