[Solved] How to download large file from google drive using wget/curl

wget --load-cookies /tmp/cookies.txt "https://drive.google.com/uc?id=FILE_ID&export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://drive.google.com/uc?export=download&id=FILE_ID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=FILE_ID" -O FILENAME.EXT && rm -rf /tmp/cookies.txt

 

No related post!

Top