tweets/follow-everybody.bash

10 lines
360 B
Bash
Executable File

# Copyright @datn 2022. Heavens forgive me for this
# be in your repo dir for this
for I in `curl -H "Accept: application/vnd.github+json" https://api.github.com/repos/diracdeltas/tweets/forks | jq -r '.[].full_name'`
do
USEW=`echo $I | cut -d\/ -f1`
WEPO=`echo $I | cut -d\/ -f2`
git remote add $USEW https://github.com/$USEW/$WEPO
git fetch $USEW
done