Wednesday, 19 July 2023

How do I download all files from a Google Drive folder with more than 50 files?

I cannot figure out how to write a program to download all files from a publicly accessible Google Drive folder.

I've tried using a Python package to download file in a folder:

import gdown gdown.download_folder(my_google_drive_url)

But when I run the code from terminal I get this message:

Failed to retrieve folder contents:

The gdrive folder with url: MY_PUBLICLY_ACCESSIBLE_GDRIVE_FOLDER_URL has more than 50 files, gdrive can't download more than this limit, if you are ok with this, please run again with --remaining-ok flag.



from How do I download all files from a Google Drive folder with more than 50 files?

No comments:

Post a Comment