-
Get a shareable link from Google Drive by right-clicking the file and selecting
Get Shareable Link
. -
Examine the link to get the file's ID. Example:
https://docs.google.com/open?id=[ID]
-
Build the download URL using the ID obtained in Step 1. Example:
https://drive.google.com/uc?export=download&id=[ID]
-
Run WGET with the URL. Usage:
wget [OPTION]... [URL]...
. Example:wget -O [filename] --no-check-certificate -r 'https://drive.google.com/uc?export=download&id=[ID]'
Options used: -O, --output-document=FILE writes document to FILE --no-check-certificate don't validate the server's certificate -r recursive
These instructions were inspired by the Gist and comments at https://gist.github.com/iamtekeste/3cdfd0366ebfd2c0d805
It looks like this has changed slightly, specifically for larger files.
I'm finding your above URL returns a HTML form rather than the file - the actual file can be fetched from this URL:
https://drive.usercontent.google.com/download?export=download&id=[ID]&confirm=t