Skip to content

Instantly share code, notes, and snippets.

@rahul286
Last active February 3, 2016 14:57
Show Gist options
  • Select an option

  • Save rahul286/4ac8183b21aa85f7b12a to your computer and use it in GitHub Desktop.

Select an option

Save rahul286/4ac8183b21aa85f7b12a to your computer and use it in GitHub Desktop.
Search which already installed Mac's Applications are present on brew cask
# I wanted to use xargs but ran into some issues. Thus 2 lines!
for file in /Applications/* ; do brew cask search `basename $file .app`; done > ~/cask-apps.txt
cat ~/cask-apps | grep -A 1 Exact | grep -v Exact | grep -v "\-\-"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment