Skip to content

Download Google Drive Folders (subfolders and files) without zipping.

License

Notifications You must be signed in to change notification settings

AhmarZaidi/Drive-ZipSkipper

Repository files navigation

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

About

Download Google Drive Folders (subfolders and files) without zipping.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages