Simple script that downloads all files from given Google Drive folder.
pip install gdrivedownload
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/<folder_id>)
- 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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.