Last active
July 14, 2016 16:14
-
-
Save ain322/59f430328c4d37b97e2653d0a040ea69 to your computer and use it in GitHub Desktop.
Script to update all applications installed using brew cask
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Blindly updates all the applications previously installed using brew cask | |
brew update | |
brew cask list | xargs brew cask info | grep -A 1 "Not installed" | grep "github" | sed 's|https://github.com/caskroom/homebrew-cask/blob/master/Casks/\(.*\)\.rb|\1|' | xargs brew cask install | |
brew cask cleanup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment