replica / download.sh
lumpin's picture
Upload folder using huggingface_hub
e347ffb verified
raw
history blame contribute delete
541 Bytes
#!/usr/bin/env bash
# Abort on error
set -e
if [ "$1" != "" ]; then
echo -e "\nDownloading and decompressing Replica to $1. The script can resume\npartial downloads -- if your download gets interrupted, simply run it again.\n"
else
echo "Specify a path to download and decompress Replica to!"
exit 1
fi
for p in {a..q}
do
# Ensure files are continued in case the script gets interrupted halfway through
wget --continue https://github.com/facebookresearch/Replica-Dataset/releases/download/v1.0/replica_v1_0.tar.gz.parta$p
done