Advertisement
metalx1000

Get Github Repository list for user

Mar 24th, 2018
980
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. #!/bin/bash
  2. for p in `seq 1 2`;
  3. do
  4.   USER=metalx1000;
  5.   curl -s "https://api.github.com/users/$USER/repos?page=$p&per_page=100"|\
  6.   grep -o 'git@[^"]*'
  7. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement