scripts for my gemini capsule
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#!/bin/sh
getweb() {
wget https://ebible.org/Scriptures/engwebp_usfm.zip
mkdir -p webp
unzip engwebp_usfm.zip -d webp
rm engwebp_usfm.zip
}
gettcgnt() {
wget https://ebible.org/Scriptures/grctcgnt_usfm.zip
mkdir -p tcgnt
unzip grctcgnt_usfm.zip -d tcgnt
rm grctcgnt_usfm.zip
}
gethboWLC() {
wget https://ebible.org/Scriptures/hboWLC_usfm.zip
mkdir -p hboWLC
unzip hboWLC_usfm.zip -d hboWLC
rm hboWLC_usfm.zip
}
getlsv() {
url="$(wget -O - https://www.lsvbible.com/p/get-lsv.html | grep Plain\ Text | grep -o 'https://[^"]*' | sed 's/amp;//g')"
wget -O lsv.zip "$url"
unzip lsv.zip
mv 'The Holy Bible (LSV).txt' lsv.txt
rm lsv.zip
}
getbsb() {
wget https://bereanbible.com/usfm/bsb_usfm.zip
unzip bsb_usfm.zip
rm bsb_usfm.zip
mv bsb_usfm bsb
}
test -d webp || getweb
test -f lsv.txt || getlsv
test -d bsb || getbsb
test -d tcgnt || gettcgnt
test -d hboWLC || gethboWLC
|