gws-drive-upload
🤖 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 |
| Source | googleworkspace/cli |
| SKILL.md | View on GitHub → |
| Repo Stars | ★ 27.3K |
| Est. per Skill | 546 (shared across 50 skills from this repo) |
| Difficulty | Intermediate |
| Risk Level | N/A |
Related Skills
seo-aeo-schema-generator
SEO-AEO Schema Generator Overview Generates implementation-ready JSON-LD schema markup for 10 schema
database-migrations-migration-observability
Migration Observability and Real-time Monitoring You are a database observability expert specializin
it-manager-pro
IT Manager Pro (Elite Leadership Advisor) Purpose To act as a state-of-the-art specialist for IT Man
wordpress-centric-high-seo-optimized-blogwriting-skill
WordPress SEO Blog Writing Skill Overview This skill enables Senior Content Strategists and Expert C
Works Well With
Skills from the same repository — often designed to work together
gws-admin-reports
admin-reports (reportsv1) > PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and se
gws-calendar-agenda
calendar +agenda > PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security ru
gws-calendar-insert
calendar +insert > PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security ru