Drive

Browse, upload, or download files on Google Drive via rclone. Use when the user wants to access or share files on Google Drive.

hsigstad 1640b3f 1.3 KB Updated

File contents

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:

  1. Action — browse, upload, or download
  2. 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 --progress for 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.

hsigstad/research-kit/tree/main/skills/drive commit 1640b3ff18

Frequently asked questions

npx skillmds@latest add hsigstad/drive