How to download Google Drive Folder using wget?
Asked Answered
G

2

6

I need to download whole folder from google drive using wget. How can I do that?

Goat answered 3/5, 2019 at 7:41 Comment(2)
You can't. You'll need to download each file individually.Meredith
good info here: unix.stackexchange.com/questions/136371/…Verduzco
S
9

"You can't" more and less...

pip install gdown
gdown --no-check-certificate --folder <folder URL>

I've been using it for a while in macOS and Ubuntu.

Salmons answered 8/3, 2022 at 13:57 Comment(0)
H
-1

You can download zipped files like this:

Suppose this is the shared link from your google drive: https://drive.google.com/file/d/345efwerfer23rffedser/view?usp=sharing

copy this part of the shared_link: 345efwerfer23rffedser

to bellow command

!wget --no-check-certificate 'https://drive.google.com/uc?export=download&id=345efwerfer23rffedser' -O 'files.zip'

Hydrogenate answered 11/5, 2022 at 6:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.