StoreSKILL.mdRead at a3768d0
gws-drive-upload
Google Drive: Upload a file with automatic metadata.
Overview
drive +upload
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Upload a file with automatic metadata
Usage
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
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
Files 1 file
Install it by hand
Deska runs this for you, for every agent you pick. To run it yourself in a terminal:
npx skills add googleworkspace/cli --skill gws-drive-uploadMore from googleworkspace
- gws-gmailgoogleworkspaceOfficialGmail: Send, read, and manage email.78.8K installs on skills.sh0
- gws-gmail-sendgoogleworkspaceOfficialGmail: Send an email.72.7K installs on skills.sh0
- gws-drivegoogleworkspaceOfficialGoogle Drive: Manage files, folders, and shared drives.71.8K installs on skills.sh0
- gws-sharedgoogleworkspaceOfficialgws CLI: Shared patterns for authentication, global flags, and output formatting.63.4K installs on skills.sh0
- gws-calendargoogleworkspaceOfficialGoogle Calendar: Manage calendars and events.58.6K installs on skills.sh0