|
- #!/bin/bash
-
- # downloads the bibles and uses the split branch, and makes archived versions
- FILE=bibles
- if test -d "$FILE"; then
- echo "$FILE exist, moving on"
- else
- git clone https://github.com/gratis-bible/bible bibles
- cd bibles
- git checkout split
- fi
-
- cd bibles
-
- for lang in */; do
- [ -e "$lang" ] || continue
- cd $lang
- for version in */; do
- version=${version%/}
- tar -cvf $version.tar $version*
- done
- cd ..
- done
|