gws-drive-upload
仓库创建 2026年3月3日最近提交 4 天前SkillHot 收录 20 天前
▸ 精选理由
简化上传并自动处理元数据,适合批量或自动化场景。
▸ 风险提示
需要 Google OAuth 授权,脚本会访问并上传用户文件。
这个 Skill 做什么
将文件上传到 Google Drive 并自动添加元数据。
把本地文件上传到 Google Drive,并自动补上元数据(如标题、标签和权限设置),省去手动整理的麻烦。需要把报告、资产或备份放到 Drive 并保持可检索性与权限管理时用。会处理认证和约定的元数据格式,上传后便于后续检索与管理。
▸ 展开 SKILL.md 英文原文
Google Drive: Upload a file with automatic metadata.
3.0w
Stars
1.8k
Forks
40
仓库内 Skill
+562
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-drive-upload/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-drive-upload/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# drive +upload > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it. Upload a file with automatic metadata ## Usage ```bash gws drive +upload <file> ``` ## Flags | Flag | Required | Default | Description | |------|----------|---------|-------------| | `<file>` | ✓ | — | Path to file to upload | | `--parent` | — | — | Parent folder ID | | `--name` | — | — | Target filename (defaults to source filename) | ## Examples ```bash gws drive +upload ./report.pdf gws drive +upload ./report.pdf --parent FOLDER_ID gws drive +upload ./data.csv --name 'Sales Data.csv' ``` ## Tips - MIME type is detected
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有