Skip to content

Instantly share code, notes, and snippets.

@qgp9
Last active September 29, 2016 10:29
Show Gist options
  • Save qgp9/b857769b414b8643944fd4f54ca3e60a to your computer and use it in GitHub Desktop.
Save qgp9/b857769b414b8643944fd4f54ca3e60a to your computer and use it in GitHub Desktop.
bash brew_cask_upgrade_print.sh | bash
#!/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