DEV Community

João Vitor
João Vitor

Posted on

Clone github repos in parallel

It is possible to clone a list of github repositories in parallel.

Given that the file is called your_organization.txt.

cd ~/github-orgs/your-organization
cat your_organization.txt | parallel  -j 25 'clone-missing.sh {}; echo job {#} completed {};'
Enter fullscreen mode Exit fullscreen mode

You can generate a list of repositories of a github user or a github organization with these helper scripts:

Top comments (0)