mac系统 查看隐藏的文件夹 设置文件夹隐藏和取消隐藏(转载)

我们以系统文件夹Library为例 首先打开终端

打开一个文件夹 :open ~/Library

取消隐藏文件夹:chflags nohidden ~/Library

设置隐藏文件夹:chflags hidden ~/Library

隐藏所有设置隐藏属性的文件夹:defaults write com.apple.finder AppleShowAllFiles -bool false

显示所有文件夹:defaults write com.apple.finder AppleShowAllFiles -bool true

猜你喜欢

转载自houyingsoft.iteye.com/blog/1603308