Last active
August 29, 2015 14:17
-
-
Save st-f/8c5ff413a7c9d016e96b to your computer and use it in GitHub Desktop.
Converts the Mac OS X applications folder into an lowercase, comma-separated list of possible packages names for caskroom.io. Execute from any location, will export to ~/Documents/softwarelist.txt.
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
OUT=`ls /Applications/`; OUT2=${OUT//$'\n'/,}; OUT3=${OUT2//.app/}; OUT4=${OUT3// /-}; echo $OUT4 | tr '[:upper:]' '[:lower:]' > ~/Documents/softwarelist.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment