首页/后端开发/gws-drive-upload
G

gws-drive-upload

by @googleworkspacev1.0.0
4.0(0)

用于将文件上传到Google Drive,并自动处理文件元数据,简化文件管理。

Google Drive APIFile Upload AutomationCloud StorageGoogle WorkspaceGitHub
安装方式
npx skills add googleworkspace/cli --skill gws-drive-upload
compare_arrows

Before / After 效果对比

1
使用前
1手动将文件上传到 Google Drive,并逐一填写文件名、描述等元数据,过程繁琐且易出错,尤其是在需要批量上传或自动化场景下。
使用后
1使用 `gws drive +upload` 命令,文件可以自动上传到 Google Drive,并根据命令行参数自动设置文件名、描述和标签等元数据,大大提高效率并减少人工错误。

description SKILL.md


name: gws-drive-upload version: 1.0.0 description: "Google Drive: Upload a file with automatic metadata." metadata: openclaw: category: "productivity" requires: bins: ["gws"] cliHelp: "gws drive +upload --help"

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

gws drive +upload <file>

Flags

FlagRequiredDefaultDescription
<file>Path to file to upload
--parentParent folder ID
--nameTarget filename (defaults to source filename)

Examples

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 automatically.
  • Filename is inferred from the local path unless --name is given.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also

  • gws-shared — Global flags and auth
  • gws-drive — All manage files, folders, and shared drives commands

forum用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价,来写第一条吧

统计数据

安装量5.4K
评分4.0 / 5.0
版本1.0.0
更新日期2026年3月16日
对比案例1 组

用户评分

4.0(0)
5
0%
4
0%
3
0%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code

时间线

创建2026年3月16日
最后更新2026年3月16日