Using wget to download files from Google Drive

Using wget to download files from Google Drive

Step 1. Go to Google Drive and right-click on the file that you wish to download, then go to Share

chrome pyZzmxKimS - Using wget to download files from Google Drive

Step 2. Click the Change button at the bottom of the dialog box to Anyone

wget 2 - Using wget to download files from Google Drive

Step 3. Copy the link and from it simply take the FILEID:

https://drive.google.com/file/d/ 11lM45WHuf43f34f1LBXBwDoJrvyiK84Ll /view?usp=sharing

Step 4. Change the FILEID in this snippet and run it:

curl -L "https://docs.google.com/uc?export=download&id=FILEID&confirm=t " > nesto.zip
image 1024x88 - Using wget to download files from Google Drive
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.