Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (25 loc) · 1.26 KB

README.md

File metadata and controls

29 lines (25 loc) · 1.26 KB

cloneall.sh - a small script to clone all of your github repositories at once

Project State Maintenance

Github is **** and deprecated HTTP basic authentication for it's API, meaning this project no longer works for private repos. Just use the github desktop/cli, which they want to force on you anyways.... :(

Usage

cloneall.sh [(-s|-h)] -u <username> [-p] [-d <directory>]
Options:
-s             Use ssh
-h             Use http (default)
-u <username>  specify the github username to clone all repos from
-p             Authenticate as specified user. This is for cloning private repos
               and will prompt the user to input their github password.
-d <directory> specify the directory to clone all the repos to.
               a seperate folder for each repo inside this folder
               will still be created. Defaults to current directory.

Warning

This script does not work with 2FA yet, and it is using deprecated HTTP authentication. Therefore it can no longer clone private repos.

LICENSE

Licensed under the MIT license, see LICENSE file.

Contributing

If you found a way to improve this script, just make a pr.