Repository navigation
Releases
Releases · udbhav07/foldrive
v0.1.0 — first release
First release. Pair any local folder with any Google Drive folder and sync them like git — preview, then apply.
pip install foldrive
Getting started
foldrive setup # one-time Google setup
foldrive login
cd your-folder
foldrive init
foldrive status # see what a sync would do
foldrive sync
foldrive autostart # optional: sync every 5 minutes
What's in it
- Two-way sync —
status/push/pull/sync; nothing happens that you can't preview first - Conflicts never lose a version — the loser is kept alongside as
(local copy)/(drive copy) - Google Docs, Sheets and Slides — four modes per file type
- Background sync — Task Scheduler on Windows, cron on macOS and Linux
- Deletion safety — soft deletes, a mass-delete guard, and an optional never-delete side
- Survives interruptions — progress is checkpointed; re-runs never create duplicates
foldrive log/foldrive restore— see what happened, and get a file back
Windows, macOS and Linux · Python 3.10+ · MIT