steam iina alfred
每行一个 App 名。
二、自动安装
需要说明的是,第一行命令生成的所有软件列表,鱼龙混杂,需要你自己挑选并安装。
后面几种可以自动安装。但是,在安装前,你应该检查列表文件,去除一些不再需要的 App,确保内容无误。
终端中运行:
# 进入 iCloud 中的 AppList 文件夹 cd ~/Library/Mobile\ Documents/com\~apple\~CloudDocs/AppList # 生成 MAS_AppList 安装命令 cat AppList/MAS_AppList | sed "s/(.*)//g" | sed -Ee 's/([0-9]+) (.+)/mas install \1 #\2/g' > ~/Desktop/AppInstaller # 生成 Brew_AppList 安装命令 echo "\nbrew install $(cat AppList/Brew_AppList | tr '\n' ' ')" >> ~/Desktop/AppInstaller # 生成 BrewCask_AppList 安装命令 echo "\nbrew cask install $(cat AppList/BrewCask_AppList | tr '\n' ' ')" >> ~/Desktop/AppInstaller # 开始安装 chmod +x ~/Desktop/AppInstaller ~/Desktop/AppInstaller
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/tongxinshuyu/article-81169-3.html
后面少了一部分