Last active
December 29, 2015 03:38
-
-
Save gouf/7608635 to your computer and use it in GitHub Desktop.
インストール済みのBrew ソフトウェアを、Mac Brewdle で使える形式でバックアップ。
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 | |
# format | |
brew list | sed 's/\(^.*$\)/brew "\1"/g' > brew | |
brew tap | sed 's/\(^.*$\)/tap "\1"/g' > tap | |
brew cask list | sed 's/\(^.*$\)/cask "\1"/g' > cask | |
# file generate and clean up | |
cat tap brew cask > Brewdle | |
rm tap brew cask |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment