snow-fort-windows-installer/download.sh

14 lines
238 B
Bash

#!/bin/sh
set -eu
TMPDIR=/tmp/r7rs-windows-installer-archives
mkdir -p ${TMPDIR}
mkdir -p snow
while read url
do
wget -O ${TMPDIR}/archive.tgz ${url}
tar -Pxf ${TMPDIR}/archive.tgz --strip-components=1 -C ./snow
done <urls.txt