Created
August 28, 2019 16:45
-
-
Save danialmalik/ca037d850c69300737abaaa5e7668aca to your computer and use it in GitHub Desktop.
Download Large files from google drive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copy the file ID from the url and put in the command below | |
| wget --save-cookies cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=__FILEID__' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/Code: \1\n/p' | |
| # Command Above will return a Code . use that code in the command below. | |
| wget --load-cookies cookies.txt 'https://docs.google.com/uc?export=download&confirm=__CODE__&id=__FILEID__' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment