Created
July 29, 2022 11:11
-
-
Save qoomon/c1cd940e453e2b12b96d862c0c897abb to your computer and use it in GitHub Desktop.
GitHub Bulk Operations
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
# list repos | |
# gh repo list $owner --json nameWithOwner -q '.[].nameWithOwner' | |
repos=( | |
example/example | |
) | |
for repo in "${repos[@]}" | |
do | |
echo $repo | |
# gh repo archive --confirm $repo | |
# gh repo delete --confirm $repo | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment