Skip to content

Instantly share code, notes, and snippets.

View mattarau's full-sized avatar
🚥
Refactoring

Matt Arau mattarau

🚥
Refactoring
View GitHub Profile
@mattarau
mattarau / backup-apps.sh
Last active December 5, 2016 09:35 — forked from crcastle/backup-homebrew.sh
Backup Homebrew packages (including Cask Apps) and Mac App Store apps.
#!/bin/bash
brew_command=/usr/local/bin/brew
brew_cask_command="$brew_command cask"
mas_command=/usr/local/bin/mas
echo '#!/bin/bash'
echo ''
echo 'trap ctrl_c INT'
echo 'function ctrl_c() {'