批量删除github仓库
curl \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token your_personal_token" \
"https://api.github.com/user/repos?per_page=100" \
| jq .[].url \
| grep /cto- \
| xargs -t \
curl -X DELETE \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token your_personal_token"
QQ:273352165
evlon#126.com
转载请注明出处。