An open API service indexing awesome lists of open source software.

https://github.com/mimo84/cloner

A simple script that downloads repos you have access to in Bitbucket / GitHub
https://github.com/mimo84/cloner

bitbucket bitbucket-api clone git github github-api repository repository-tools

Last synced: 8 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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.