Created
June 26, 2017 03:27
-
-
Save Aufree/0b83b075e15db3735dfb7f5c8f7a91a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
while read repo | |
do curl -X DELETE -H "Authorization: token GITHUB_TOKEN" "https://api.github.com/repos/$repo" | |
done < repos.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment