4 ms·
$ curl -s "https://api.github.com/orgs/AndroidHardening/repos?per_page=200" | ruby -rubygems -e "require 'json'; JSON.load(STDIN.read).each { |repo| puts \"git
by evadne 8y ago
$ curl -s "https://api.github.com/orgs/AndroidHardening/repos?per_page=200" | ruby -rubygems -e "require 'json'; JSON.load(STDIN.read).each { |repo| puts \"git clone #{repo['ssh_url']} android-hardening-#{repo['name'].gsub(/(.)([A-Z])/,'\1-\2').downcase.gsub(/[^a-zA-Z0-9]/, '-').gsub(/-(-+)/, '-')}\" }" | parallel -j 8 '{}'
- asdsa5325 8y agoWhat is this?
- bribroder 8y agoThey want you to clone all of the repos belonging to https://github.com/androidhardening https://github.com/androidhardening, for some reason... I suppose they think it will be taken down by GitHub lawyers?
- ReverseCold 8y agoThat's a useful snippet. I wanted to download all the repos of a different organization the other day. Thanks!