This scripts allow you to use GitHub API to delete multiple repositories at a time.
- Create a .env file on
/scripts
with:- USER=< Your GitHub username >
- TOKEN=< Your GitHub token>
- If you know the name of the repos you want to delete, just write them down to REPOS var in
delete_repos.sh
and execute the script. - If you want a list of your repos before writing them down to
delete_repos.sh
, executelist_repos.sh
, a repos.txt file should be generated with the name of your repos, you can copy them and paste on the REPOS var indelete_repos.sh
.