This commit is contained in:
Glenn Jocher 2019-07-10 17:33:24 +02:00
parent 53dfdfb367
commit 682d0485d6
1 changed files with 2 additions and 4 deletions

View File

@ -4,8 +4,6 @@
# Set fileid and filename # Set fileid and filename
filename="coco.zip" filename="coco.zip"
fileid="1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO" # coco2014.zip fileid="1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO" # coco2014.zip
# filename="coco.tar.gz"
# fileid="1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO" # coco.tar.gz
# Download from Google Drive, accepting presented query # Download from Google Drive, accepting presented query
curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /dev/null curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /dev/null
@ -13,5 +11,5 @@ curl -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/do
rm ./cookie rm ./cookie
# Unzip # Unzip
unzip -q ${filename} unzip -q ${filename} # for coco.zip
# tar -xzf ${filename} # tar -xzf ${filename} # for coco.tar.gz