summarylogtreecommitdiffstats
path: root/gdrive-download.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gdrive-download.sh')
-rwxr-xr-xgdrive-download.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdrive-download.sh b/gdrive-download.sh
deleted file mode 100755
index 6a5d359d017e..000000000000
--- a/gdrive-download.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-TMPDIR=$(mktemp -d)
-GDRIVE_ID=${1:9}
-echo "Downloading GDrive ID $GDRIVE_ID"
-echo "TMPDIR: $TMPDIR"
-wget -c "https://drive.google.com/uc?export=download&id=$GDRIVE_ID" -O "$TMPDIR/avcheck.html" --save-cookie "$TMPDIR/cookie.txt"
-CONFIRM=$(grep -e "confirm=[^'\"&]\+" -o "$TMPDIR/avcheck.html")
-wget "https://drive.google.com/uc?export=download&id=$GDRIVE_ID&$CONFIRM" -O $2 --load-cookie "$TMPDIR/cookie.txt" --continue
-rm -rf $TMPDIR