Skip to content

Instantly share code, notes, and snippets.

@diinfsch
diinfsch / download_files_from_googledrive.py
Created May 13, 2024 06:20 — forked from swyoon/download_files_from_googledrive.py
A script for downloading all files in a Google Drive folder.
"""
A Python script for downloading all files under a folder in Google Drive.
Downloaded files will be saved at the current working directory.
This script uses the official Google Drive API (https://developers.google.com/drive).
As the examples in the official doc are not very clear to me,
so I thought sharing this script would be helpful for someone.
To use this script, you should first follow the instruction
in Quickstart section in the official doc (https://developers.google.com/drive/api/v3/quickstart/python):