Mac安装7Z以及Mac下查看隐藏文件夹
一:Mac下安装7Z:
1:brew直接安装解压工具
$ brew search 7z
会搜索到:
==> Formulae
p7zip
2:$ brew install p7zip 解压
会有如下结果表示安装成功。
==> Downloading https://homebrew.bintray.com/bottles/p7zip-16.02_1.mojave.bottle
==> Downloading from https://akamai.bintray.com/bb/bb715042a9067df735cd7d032a159
######################################################################## 100.0%
==> Pouring p7zip-16.02_1.mojave.bottle.tar.gz
🍺 /usr/local/Cellar/p7zip/16.02_1: 103 files, 4.7MB
二:Mac下显示隐藏文件
打开「终端」,输入以下内容,然后「Return」键,这样就把隐藏的文件和文件夹显示了;
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
隐藏原本的隐藏文件和文件夹,将上述命令替换成:
defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder
注:该命令适用于 OS X Mavericks 和 OS X Yosemite 系统。对于还在使用 OS X Mountain Lion 或是更早版本的系统的 Mac 用户来说,命令需要稍微变化一下。
引用自:https://www.cnblogs.com/wangkejia/p/10668518.html