Skip to content

Instantly share code, notes, and snippets.

@waynegraham
Created October 1, 2010 13:27
Show Gist options
  • Save waynegraham/606206 to your computer and use it in GitHub Desktop.
Save waynegraham/606206 to your computer and use it in GitHub Desktop.
#! /bin/bash
# Go into the library paths and updates git bundles
echo 'Updating Pristine copy in /Library/Application Support/TextMate/ Pristine Copy/Bundles'
find ~/"Library/Application Support/TextMate/Pristine Copy/Bundles" -name .git -execdir git pull --quiet \;
echo 'Updating /Library/Application Support/TextMate/Bundles'
find ~/"Library/Application Support/TextMate/Bundles" -name .git -execdir git pull --quiet \;
echo 'Updating Library/Application Support/TextMate/Pristine Copy/Bundles'
find ~/"Library/Application Support/TextMate/Pristine Copy/Bundles" -maxdepth 2 -name .svn -execdir svn up --quiet \;
echo 'Updating Library/Application Support/TextMate/Bundles'
find ~/"Library/Application Support/TextMate/Bundles" -maxdepth 2 -name .svn -execdir svn up --quiet \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment