An open API service indexing awesome lists of open source software.

https://github.com/m4tx/gdrivedownload

Simple script that downloads all files from given Google Drive directory
https://github.com/m4tx/gdrivedownload

Last synced: about 1 year ago
JSON representation

Simple script that downloads all files from given Google Drive directory

Awesome Lists containing this project

README

          

==============
gdrivedownload
==============

Simple script that downloads all files from given Google Drive folder.

Requirements
------------

* Python 3.2+

Installation
------------
::

pip install gdrivedownload

Usage
-----
::

gdrivedownload client_id client_secret folder_id out_path

* *client_id* - Google Drive OAuth2 client ID
* *client_secret* - Google Drive OAuth2 secret key
* *folder_id* - Google Drive folder ID (usually the last part of the URL, like ``https://drive.google.com/drive/u/0/folders/``)
* *out_path* - output directory to put the files into. Will be created recursively if does not exist

OAuth2 keys can be obtained using `Google Developer Console `_. Create a project,
then generate OAuth2 credentials for `Other` application type.