This script automatically mirrors all our organization's public GitHub repos into a specified directory. It's intended to be used in a cron job to keep a set of local mirrors up to date for tools that need local mirrors to work.
- Ruby 1.8.7 (probably 1.9.2+ would work also).
- A gem which provides
ruby /path/to/github-mirrorer ORG MIRROR_PATH
ruby /usr/local/bin/github-mirrorer NUBIC /usr/local/share/github-mirror
This script is released into the public domain. Use at your own risk.