Skip to content

udaybadhe/Drive-Uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Drive Uploader

A straightforward command-line tool for uploading files to a specific Google Drive folder.

Setup

This project uses uv for dependency management.

  1. Create and sync a virtual environment:

    uv venv
    uv pip install -r requirements.txt
  2. Configure your credentials:

    • Copy config.json.example to config.json.
    • Update config.json with your Google Drive folder_id and the path to your client_secret.json file.
  3. Authorize with Google:

    The first time you run the script, it will open a browser window for you to authorize the application. This creates a local token so you only have to do it once.

Usage

To upload a file, run upload.py with the file path as an argument.

python upload.py path/to/your/file.mp4

The script will show the upload progress and print the file ID when it's done.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages