Skip to content

Instantly share code, notes, and snippets.

@jfmoy
Created August 15, 2016 20:18
Show Gist options
  • Save jfmoy/05abac2146aec7613133c1d8e7299dac to your computer and use it in GitHub Desktop.
Save jfmoy/05abac2146aec7613133c1d8e7299dac to your computer and use it in GitHub Desktop.
Quickly force install all applications when migrating Brew Caskroom
#!/usr/local/bin/zsh
for file in /usr/local/Caskroom/*(/); do
brew cask install --force $file:s/\/usr\/local\/Caskroom\///
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment