mirror of
https://github.com/dataforcanada/d4c-datapkg-statistical.git
synced 2026-06-13 14:10:55 +02:00
Initial commit
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
if [ ! -d "${DATA_FOLDER}/geographic_attribute_file" ]
|
||||
then
|
||||
echo "Making directory ${DATA_FOLDER}/geographic_attribute_file/"
|
||||
mkdir -p ${DATA_FOLDER}/geographic_attribute_file/{input,extracted,output}
|
||||
fi
|
||||
|
||||
INPUT_FOLDER="${DATA_FOLDER}/geographic_attribute_file/input"
|
||||
|
||||
echo "Downloading 2021 geographic attribute file"
|
||||
aria2c -x16 -i "${SCRIPT_DIR}/geographic_attribute_file/files.txt" --dir=${INPUT_FOLDER} --auto-file-renaming=false
|
||||
Reference in New Issue
Block a user