memories/scripts/get-exiftool.sh

30 lines
978 B
Bash
Raw Normal View History

2022-10-20 19:31:12 +00:00
#!/bin/sh
2022-11-23 17:58:54 +00:00
set -e
2022-12-08 06:44:35 +00:00
exifver="12.50"
2022-10-20 19:31:12 +00:00
rm -rf exiftool-bin
mkdir -p exiftool-bin
cd exiftool-bin
2022-11-23 17:58:54 +00:00
echo "Getting exiftool $exifver"
2022-10-29 22:54:51 +00:00
wget -q "https://github.com/pulsejet/exiftool-bin/releases/download/$exifver/exiftool-amd64-musl"
wget -q "https://github.com/pulsejet/exiftool-bin/releases/download/$exifver/exiftool-amd64-glibc"
wget -q "https://github.com/pulsejet/exiftool-bin/releases/download/$exifver/exiftool-aarch64-musl"
wget -q "https://github.com/pulsejet/exiftool-bin/releases/download/$exifver/exiftool-aarch64-glibc"
2022-10-20 19:31:12 +00:00
chmod 755 *
2022-10-20 20:41:34 +00:00
2022-10-29 22:54:51 +00:00
wget -q "https://github.com/exiftool/exiftool/archive/refs/tags/$exifver.zip"
unzip -qq "$exifver.zip"
2022-10-20 20:41:34 +00:00
mv "exiftool-$exifver" exiftool
rm -rf *.zip exiftool/t exiftool/html
chmod 755 exiftool/exiftool
2022-12-03 16:27:43 +00:00
govod="0.0.24"
2022-11-23 17:58:54 +00:00
echo "Getting go-vod $govod"
2022-11-11 05:25:26 +00:00
wget -q "https://github.com/pulsejet/go-vod/releases/download/$govod/go-vod-amd64"
wget -q "https://github.com/pulsejet/go-vod/releases/download/$govod/go-vod-aarch64"
chmod 755 go-vod-*
2022-11-09 09:23:12 +00:00
2022-10-20 19:31:12 +00:00
cd ..