Skip to content
/ cloner Public

A simple script that downloads repos you have access to in Bitbucket / GitHub

License

Notifications You must be signed in to change notification settings

mimo84/cloner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitbucket / Github Cloner

A simple script to download repos from bitbucket (mostly) and github. If the repository already exists the repository will just be updated if possible via git pull.

bitbucket.sh

jq is a dependency: https://stedolan.github.io/jq/

usage:

bitbucket.sh username:password

result:

it will create a bitbuckt_repos folder above the script itself and a number of subfolders depending on your own bitbucket structure. Inside each folder your repos are going to be cloned.

Inspired by this: https://stackoverflow.com/questions/40429610/bitbucket-clone-all-team-repositories

github.sh

usage:

github.sh username

result:

it will create a github_repos above the script itself and clone all the public repos of that user.

About

A simple script that downloads repos you have access to in Bitbucket / GitHub

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages