Skip to content

Add Google Drive sync via rclone#168

Merged
thavelick merged 1 commit into
mainfrom
add_gdrive_sync
Jul 14, 2026
Merged

Add Google Drive sync via rclone#168
thavelick merged 1 commit into
mainfrom
add_gdrive_sync

Conversation

@thavelick

Copy link
Copy Markdown
Owner

Summary

  • Add gdrive (My Drive) and gdrive-shared (shared-with-me) remotes to the rclone config template, both sharing one OAuth token stored in KeePassXC as gdrive:token and rendered via update-secrets
  • Add bin/gdrive-sync, modeled on nextcloud-sync: bidirectional bisync of My Drive to ~/gdrive (native Google Docs skipped — bisync can't round-trip them), plus a one-way read-only mirror of shared-with-me files to ~/gdrive-shared (one-way so local deletions can never delete other people's shared files)

Test plan

  • update-secrets rclone regenerates a working config including both new remotes
  • rclone lsf gdrive: and rclone lsf gdrive-shared: list expected files
  • gdrive-sync --resync completes the initial sync; subsequent gdrive-sync runs cleanly

🤖 Generated with Claude Code

Add gdrive and gdrive-shared remotes to the rclone config template,
with the OAuth token sourced from KeePassXC via update-secrets. Add a
gdrive-sync script that bisyncs My Drive to ~/gdrive and mirrors
shared-with-me files read-only to ~/gdrive-shared.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@thavelick thavelick merged commit f90dcef into main Jul 14, 2026
3 checks passed
@thavelick thavelick deleted the add_gdrive_sync branch July 14, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant