Google Drive from your terminal
A lightweight CLI to upload, export, and sync files with Google Drive. No credentials setup required.
No Credentials Required
Set GDRIVE_TOKEN_SERVER and authenticate instantly. No OAuth credentials or Google Cloud Console needed.
Upload & Export
Upload local files and export Google Docs, Sheets, and Slides to Markdown, PDF, DOCX, and more.
Sync Both Ways
Pull latest changes from Drive and push local edits back. Keep everything in sync with one command.
Shared Drives
Full support for Google Shared Drives. Upload, export, and share files across your organization.
Easy Sharing
Share uploaded files with teammates directly from the command line. Set viewer, editor, or commenter roles.
Zero Data Collection
Your files stay between you and Google. We don't collect, store, or process any of your data.
Get Started in Seconds
# Clone the repository git clone https://github.com/nillebco/gdrive && cd gdrive # Set token server URL once (no credentials needed!) export GDRIVE_TOKEN_SERVER= # Login via token server ./cli login # Upload a file ./cli upload document.md # Sync all your files ./cli sync