Google Drive
Browse, upload, and download files on Google Drive using rclone.
Remote
gdrive:— Henrik's Google Drive
Common operations
Browse:
rclone lsd gdrive:path # list directories
rclone ls gdrive:path # list files with sizes
Upload:
rclone copy /local/path gdrive:destination/ --progress
Download:
rclone copy gdrive:path /local/destination/ --progress
Parsing the request
The user may say things like:
/drive upload results to judgeGPT/data/drive what's in the two_judges folder?/drive download the latest from judgeGPT
Extract:
- Action — browse, upload, or download
- Path — remote path and/or local path
Known folders
gdrive:judgeGPT/— judgeGPT project (data/, for_ramya/, two_judges/)
Before destructive operations
Always confirm with the user before:
rclone sync(can delete files on remote)- Overwriting existing files
Gotchas
- Use
--progressfor uploads/downloads. - Google Drive may have duplicate filenames — rclone handles this but it can be confusing.
- Large uploads may be slow due to Drive API rate limits.