#!/bin/bash for i in 1 2; do curl "https://git.bivouac.wiki/api/v1/repos/search?limit=50&page=$i" | jq -r ".data[].ssh_url" >> bivouac.txt done cat bivouac.txt | while read line; do git clone $line done