Download Google Drive folder without google zipping!
You need to enable the Drive API
to use the script.
The enabling instructions can be found on Python Quickstart.
The credentials.json
file will be needed in the working directory.
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
pip install google-auth-oauthlib
pip install google-api-python-client
$ python3 download.py folder_name_on_google_drive [google drive path]
Your folder name is Example
and its shareable url (to get shareable link left click on folder and select get shareable link
) is https://drive.google.com/drive/u/0/folders/12KurDmdB5_Jtrk6Y3zplBafVQZzq-G7K
$ python download.py Example `12KurDmdB5_Jtrk6Y3zplBafVQZzq-G7K`
$ python3 download.py Example `12KurDmdB5_Jtrk6Y3zplBafVQZzq-G7K`