Skip to content

Cody-Learner/github-clone-all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

github-clone-all

Clones all github [author] non forked or archived repos.
Note: [author] is part of the url. ie: 'Cody-Learner' from 'github.com/Cody-Learner'

Usage: github-ca.sh [-D author] [-I /path/repos-dir] [-R /path/repos-dir]
"Generic operation:" -D Download 'git clone' all authors repos.
"Cody specific op :" -I Install 'copy' all scripts in repos with .sh suffix to instdir var.
"Cody specific op :" -C Run all config scripts in repos with .inst suffix.

Examples:
Clone all repos : ./github-ca.sh -D Cody-Learner
Copy all '.sh' scripts : ./github-ca.sh -I ~/GitHub.XXX
Run all '.inst' scripts: ./github-ca.sh -C ~/GitHub.XXX

The default directory the repos are cloned into, is created at $HOME/GitHub.XXX
The XXX will be replaced with a random three letter/digit sequence.

Running github-ca.sh with no op/args will create and list the git clone destination dir.

Example: github-ca.sh
....
...
..
Download directory: /home/jeff/GitHub.V3r

If running more than once, manually remove /tmp/downloaddir to prevent overwriting.

Fetch/Use without git:
curl -O https://raw.githubusercontent.com/Cody-Learner/github-clone-all/main/github-ca.sh

Check the script integrity: sha256sum github-ca.sh
sha256sum: 9c7267320ef5b1bb656b8c8ab4b5ace61c1271f6f061420dceb3029876cd35ee

Set the x bit: chmod +x github-ca.sh

To run: ./github-ca.sh

About

Clones all github authors non forked repos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages