列出从Mac App Store下载过的软件

Show All Apps Downloaded from the Mac App Store

find /Applications -path ‘*Contents/MASReceipt/receipt’ -maxdepth 4 -print |sed ‘s#.app/Contents/MASReceipt/receipt#.app#g; s#/Applications/##’

使用find和sed组合命令

via http://osxdaily.com/2013/09/28/list-mac-app-store-apps-terminal/

Advertisements

作者: 弗洛缺德

基本不大着调、偶尔让人牵肠挂肚……

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s