Giter VIP home page Giter VIP logo

gdrivesyncutility's Introduction

GDriveSyncUtility (English)

GDriveSyncUtility is a tool to easily synchronize files in Google Drive with local files, using Google Drive API to batch download files in a specified folder.

When a file in GDrive is updated, the program can be re-run to download only the updated file and synchronize GDrive and local files.

GDriveSyncUtility (日本語)

GDriveSyncUtilityは、Google Drive内のファイルとローカルファイルを簡単に同期させるツールです。Google Drive APIを利用して、指定したフォルダ内のファイルを一括ダウンロードします。

GDrive内のファイルが更新された場合、プログラムを再実行することで、更新されたファイルのみをダウンロードし、GDriveとローカルファイルを同期させることができます。

Technologies Used

  • Google Drive API
  • Python 3.11

Setup

  1. Configure the Google Drive API.
  2. Clone or fork this repository.
  3. Create a .env file in the root of the repository and configure it as follows

    .env example

    Place .env file to repository root that contains FOLDER_ID, LOCAL_FOLDER_PATH, CREDENTIALS_PATH.
    FOLDER_ID=your_folder_id_here
    LOCAL_FOLDER_PATH=your_local_folder_path_here
    CREDENTIALS_PATH=your_credentials_path_here
    

Execution

In the cloned repository root, execute the following commands:

pip install -r requirements.txt
python downloader.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

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.