Skip to content

Instantly share code, notes, and snippets.

@SteveClement
Created August 11, 2014 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SteveClement/7a361d20142e3b5a83c0 to your computer and use it in GitHub Desktop.
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
#!/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