Skip to content

Commit

Permalink
fixed download script. Using linux line ending...
Browse files Browse the repository at this point in the history
  • Loading branch information
jrwnter committed Jan 30, 2020
1 parent 8c1f90d commit 516576d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions download_default_model.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
fileid="1oyknOulq_j0w9kzOKKIHdTLo5HphT99h"
filename="default_model.zip"
curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /dev/null
curl -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename}
unzip default_model.zip
#!/bin/bash
fileid="1oyknOulq_j0w9kzOKKIHdTLo5HphT99h"
filename="default_model.zip"
curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /dev/null
curl -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename}
unzip default_model.zip

0 comments on commit 516576d

Please sign in to comment.