This commit is contained in:
Glenn Jocher 2019-07-10 17:34:19 +02:00
parent 682d0485d6
commit 88a2c71a9f
1 changed files with 5 additions and 1 deletions

View File

@ -1,9 +1,13 @@
#!/bin/bash
# https://stackoverflow.com/questions/48133080/how-to-download-a-google-drive-url-via-curl-or-wget/48133859
# Zip coco folder
# zip -r coco.zip coco
# tar -czvf coco.tar.gz coco
# Set fileid and filename
filename="coco.zip"
fileid="1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO" # coco2014.zip
fileid="1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO" # coco.zip
# Download from Google Drive, accepting presented query
curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /dev/null