顯示Mac隱藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true
隱藏Mac隱藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool false
或者
顯示Mac隱藏文件的命令:defaults write com.apple.finder AppleShowAllFiles YES
隱藏Mac隱藏文件的命令:defaults write com.apple.finder AppleShowAllFiles NO
方法二:
首先,轉到你要查看隱藏文件的文件夾 接着,Command-F,搜索該文件夾 點擊右側的“+”號,出現搜索控制選項,默認是Kind,點擊下拉列表,選擇other, 找到File invisible選項,並對右邊的方塊打勾。 OK了,現在你可以在搜索控制選項中選擇文件的File Visibility狀態了,點擊選項中的invisible即可顯示隱藏文件 |