Created
August 11, 2014 14:02
-
-
Save SteveClement/7a361d20142e3b5a83c0 to your computer and use it in GitHub Desktop.
OSX Only, goes into your Arduino libraries folder, enumerates git repos and updates them
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
#!/usr/bin/env bash | |
cd ~/Documents/Arduino/libraries/ | |
for pkg in `find . -name .git | cut -f2 -d. |tr -d \/ |grep -v Adafruit_LED_Backpack_LibraryAdafruit-LED-Backpack-Library`; do | |
cd ${pkg} | |
git pull | |
cd .. | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment