Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shazron/working-folder
- Owner: shazron
- Created: 2019-10-14T02:37:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-11T03:53:54.000Z (about 4 years ago)
- Last Synced: 2024-10-30T02:42:39.331Z (2 months ago)
- Language: Shell
- Size: 44.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```