Skip to content

Drivesync

Superfast Google Drive CLI to sync files & folders - scaleninja/drivesync

Drivesync screenshot

About Drivesync

A small, fast command-line tool that keeps a local folder and a Google Drive folder in sync. Push local changes up, pull remote changes down, or just see what differs. Written in Rust, modelled on odeke-em/drive .

Or from source with a Rust toolchain: git clone https://github.com/scaleninja/drivesync && cd drivesync && make install .

APIs & Services → OAuth consent screen : choose External , name the app (this name appears on the consent page), fill in the support emails, and add yourself under Test users .

APIs & Services → Credentials → Create Credentials → OAuth client ID : type Desktop app , then Download JSON .

Then initialize a folder. A browser opens for consent; the tool receives the code on a loopback port and stores its tokens in .gd/ inside the folder (mode 0600, never uploaded).

Google expires refresh tokens after 7 days for External apps still in Testing . If you are asked to re-run init every week, click Publish app on the consent screen (no verification is needed for personal use).

Run any command from anywhere inside the sync folder.

Discussion

Sign in to join the discussion.

Loading comments…

Tagged

Alternatives to Drivesync

Tools in the same space, ranked by how they are performing in the directory.

Compare all
  • TexLite

    TexLite: Lightweight self-hosted collaborative LaTeX editor and Overleaf alternative - SWUFE-DB-Group/TexLite

    Open source/Developer Tools
  • IndexFlow core

    Open-source search engine indexing infrastructure with inline SEO quality gates, fair multi-site scheduling, and rolling quota circuit breaker.

    Open source/Writing & Content
  • Unsung

    A blog about software craft and quality

    /Writing & Content
  • Web Iterate

    Google today reached the final milestone in a browser-extension transition that has been years in the making, all remaining Manifest V2 extensions were removed…

    /Developer Tools
  • THEYFELL

    A business, a website, a resume, a career, anything you built.

    Paid/Writing & Content
  • Openclip

    Fast, open-source macOS floating text actions.

    Open source/Developer Tools