Git Product home page Git Product logo

google-drive-download's Introduction

Google-Drive-Download <<<<<<< HEAD Python scripts to download folders and files from google drive

Pre-requisites - Authorize API usage on google drive, and download/install google drive pyhton api. sudo pip install -I google-api-python-client==1.3.2 --ignore-installed six Authorize API https://developers.google.com/drive/v3/web/quickstart/python#step_1_turn_on_the_api_name Download the client_secret.json to same dir as this script Made for Python 3.5 and Google Drive API v3.

Made for Python 3.5 and Google Drive API v3. Python scripts to download folders and files from google drive. I had to create this to solve a simple problem: download the whole folder structure and files shared with me on Google Drive (more than 200 files, totaling aprox 10Gbytes). I was unable to synchronize that folder structure using the Google Drive application for Windows, and also to download from the web interface, because Google Drive Web tryed to compress everything before downloading - and got lost with such a big set of files.

Pre-requisites - Authorize API usage on google drive, and download/install google drive pyhton api. Follow instructions on : https://developers.google.com/drive/v3/web/quickstart/python To install python client on windows: pip install --upgrade google-api-python-client Authorize API https://developers.google.com/drive/v3/web/quickstart/python#step_1_turn_on_the_api_name Download the client_secret.json to same dir as this script

origin/master

Usage: to replicate a Gogle Drive folder structure with all files, in your computer python dl_gdrive_folder.py Example: Folder Structure at Google Drive: F1 File0 F11 File1 F12 F211 FileA FileB To download everything from folder F211 to a local folder TST python dl_gdrive_folder.py F211 TST

<<<<<<< HEAD

It doesn´t work if you have more than one folder with the same name.

origin/master

Build from the works of : Mark Culhane - google_drive_backup.py https://github.com/markz0r/tools/blob/master/backup_scripts/google_drive_backup.py and HatsuneMiku - recursive navigation over folders http://stackoverflow.com/questions/22092402/python-google-drive-api-list-the-entire-drive-file-tree https://github.com/HatsuneMiku/googleDriveAccess

<<<<<<< HEAD

=======

origin/master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.