Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shazron/working-folder

Bash script(s) to set up my open source working folder automatically
https://github.com/shazron/working-folder

Last synced: 26 days ago
JSON representation

Bash script(s) to set up my open source working folder automatically

Awesome Lists containing this project

README

        

# working-folder

Bash script(s) to set up my open source working folder automatically, and update existing folders if necessary.

## Installation

```bash
git clone https://github.com/shazron/working-folder.git
cd
./run.sh
```

## Give the script permissions (optional, only if they don't work)

`chmod +x ./run.sh`
`chmod +x ./update.sh`
`chmod +x ./clone.sh`
`chmod +x ./clean.sh`

## config.txt to specify your git repo list

In the `config.txt` file add a line for each `ORG/REPO` you want to clone or update.

```
# These are repos for the foo project
foo/bar
foo/baz

# These are repos for the yoo project
yoo/hoo
```

Empty lines and lines starting with the character `#` are ignored.

## Clone/update for a particular org

`./run.sh `

## Clone/update all

`./run.sh`

## Specifying a server for a repo

Add a second word in the line, to specify the git server to connect to for the repo

`config.txt`
```
shazron/foo
apache/bar
foo/smoo https://mygitserver.com
```