JavaScript is disabled. Some features may not work.
gws-drive-upload — ★ 27.3K GitHub Stars — Install Guide | SkillsNav
🇺🇸 English🇨🇳 中文
SkillsNav
Home

gws-drive-upload

★ 27K repodata_procN/AIntermediateClaude
🤖 AI Summary

Uploads a file to Google Drive with automatic MIME type detection, supporting optional parent folder ID and custom filename via `--parent` and `--name` flags.

How to Install

Claude Code:
git clone --depth 1 https://github.com/googleworkspace/cli.git && cp cli/skills/gws-drive-upload ~/.claude/skills/gws-drive-upload -r
# 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 ``` ## Flags | Flag | Required | Default | Description | |------|----------|---------|-------------| | `` | ✓ | — | 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 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](../gws-shared/SKILL.md) — Global flags and auth - [gws-drive](../gws-drive/SKILL.md) — All manage files, folders, and shared drives commands

Details

Category Data → data_proc
Sourcegoogleworkspace/cli
SKILL.mdView on GitHub →
Repo Stars★ 27.3K
Est. per Skill546 (shared across 50 skills from this repo)
DifficultyIntermediate
Risk LevelN/A

Related Skills

Works Well With

Skills from the same repository — often designed to work together