Skip to content

This is a shell script to clone public repositories and require authentication when private

Notifications You must be signed in to change notification settings

johnbedeir/github-backup-shell-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Github-Backup-Shell-Script

Step 1:

Create .netrc file which will include github username and a generated token as shown in the example:

machine github.com
login ADD-USERNAME-HERE
password ADD-TOKEN-HERE

Step 2:

Add the repositories links in my.list file as shown:

https://github.com/......
https://github.com/......
https://github.com/......

You can create more than one list with different name and run all of them together using the command in step 2

Step 3:

Run the script

bash github-backup.sh *.list

About

This is a shell script to clone public repositories and require authentication when private

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages