Last active
October 13, 2015 03:57
-
-
Save cbrun/4135507 to your computer and use it in GitHub Desktop.
A quick (and dirty) script to clone all the repositories listed on git.eclipse.org
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
#!/bin/bash | |
rm -f repos-list | |
for n in $(seq 0 50 600); do | |
wget -qO- http://git.eclipse.org/c/?ofs=$n | sed -n "s/.*href='\/c\/\([^ ]*\)'.*/\1/p" |grep -v '?' >> repos-list | |
done | |
cat repos-list |grep -v 'www.eclipse' | xargs -I {} -n1 git clone http://git.eclipse.org/gitroot/{} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment