Fork me on GitHub

Repo Clone

Description: Clones all Github public repo at once.

#!/bin/sh
read -p 'Enter your github user-name: ' user
read -p 'Enter total page you want to clone: ' page
curl "https://api.github.com/users/$USER/repos?page=$PAGE&per_page=100" |
  grep -e 'git_url*' |
  cut -d \" -f 4 |
  xargs -L1 git clone


Download the Script here.