Last active
September 29, 2016 10:29
-
-
Save qgp9/b857769b414b8643944fd4f54ca3e60a to your computer and use it in GitHub Desktop.
bash brew_cask_upgrade_print.sh | bash
This file contains hidden or 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/bash | |
brew cask info $(brew cask list) | perl -nlE'/^(\S+):\s+(\S+)/ and chdir"/usr/local/Caskroom/$1/" and !-d$2 and say "brew cask uninstall $1 && brew cask install $1"' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment