Datasets:
Download script
To use, this script should be downloaded to the system where the user wants to download the data.
Then, in the same directory as the script, the user types bash download.sh
to begin the download.
This script then downloads all the files present in the repository (without making a clone of the .git
directory, etc.), concatenates the part files to their ZIP archives, verifies the MD5 checksums, extracts, and cleans up so that the folder structure described in the readme is present.
wget
is not default installed on Mac or Linux. Perhaps curl
would be a better option so we don't have to include an install?
Converted to Python (since the md5sum
function is OS-dependent as well.
The only external dependency is requests
. To execute the script and retrieve the dataset, download the download.py
script, then do:
pip install requests
python download.py