Files
d4c-datapkg-statistical/geosuite/download.sh
T
Diego Ripley f93e4d0cec Initial commit
2025-05-24 13:37:31 -04:00

12 lines
353 B
Bash
Executable File

#!/bin/bash
if [ ! -d "${DATA_FOLDER}/geosuite" ]
then
echo "Making directory ${DATA_FOLDER}/geosuite/"
mkdir -p ${DATA_FOLDER}/geosuite/{input,extracted,output}
fi
INPUT_FOLDER="${DATA_FOLDER}/geosuite/input"
echo "Downloading geosuite files"
aria2c -x16 -i "${SCRIPT_DIR}/geosuite/files.txt" --dir=${INPUT_FOLDER} --auto-file-renaming=false