Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.81 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.81 KB

Drive-ZipSkipper: Google Drive Folder Download Without Zip

Why:

Whenever we need to download a folder from google drive, google first creates a zip of the folder on its backend and then downloads that zip file. Moreover if the folder size is more than 2 GB multiple zips are created that are parallelly downloaded. This creates a problem for users who are downloading some folder because it takes some extra time to zip the files and sometimes parallel downloading fails. The idea is to use Google Drive API from the Google Cloud Console and download the folder and all the subfolders and files in that folder sequentially without zipping by using the folder ID and client_secret.json for authentication.

How To Use:

Step 1:

Download your client_secret.json file. To get this file follow this video. Place this file (rename the file to 'client_secret.json') in same directory as this script.
Note: Login with the same id on which the folder is present on drive. Channel Credits

Step 2:

Open Windows Terminal (or CMD) in the same directory as the script and type : python G_Drive_Folder_Download.py

Step 3:

Paste the folder ID(s) when prompted.
Note: Folder ID of a folder on drive is the last part of the url when that folder is open. The yellow highlighted part in the image below. image

This article shows how to get Folder ID.

Screenshots:

InkedG drive download