gws-drive-upload

Upload local files to Google Drive with automatic MIME detection and metadata tagging.

8|1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill gws-drive-upload-niclasmartinsson-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-drive-upload
Source: https://github.com/niclasmartinsson-sys/google-workspace-cli/tree/main/skills/gws-drive-upload
Command: npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill gws-drive-upload-niclasmartinsson-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Upload a file to Google Drive with automatic metadata tagging, eliminating manual metadata entry and mislabeling.

Core Features & Use Cases

  • Upload a file to Drive with automatic MIME type detection and metadata assignment.
  • Optionally specify a parent folder and a target filename via --parent and --name.
  • Seamless integration with the gws CLI for automated workflows.

Quick Start

Provide the path to a local file and run gws drive +upload <file> to upload it.

Frequently Asked Questions about gws-drive-upload

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upload a file to Google Drive with automatic metadata tagging?

To upload a file to Google Drive with automatic metadata, use the gws drive +upload command. This Skill automatically detects the MIME type and applies metadata to the uploaded item, eliminating manual entry and mislabeling.

Can I specify a parent folder and target filename when uploading to Google Drive via CLI?

Yes, you can specify a parent folder and target filename when uploading to Google Drive. The gws drive +upload command accepts optional --parent and --name flags to control file placement and naming on Drive.

Do I need the gws CLI environment to upload files to Drive with metadata?

Yes, you need the gws CLI environment to use this upload functionality. The Skill requires the gws CLI to execute the drive +upload command and automatically detect MIME types for metadata assignment.

How does automatic MIME type detection work for Google Drive uploads?

Automatic MIME type detection works by identifying the file format during the Google Drive upload process. The gws CLI analyzes the local file and applies the corresponding metadata to the uploaded item automatically.

What is the best way to automate Google Drive uploads with metadata in a CLI workflow?

The best way to automate Google Drive uploads with metadata is using the gws CLI drive +upload command. It integrates seamlessly into automated workflows, handling MIME type detection and metadata assignment without manual intervention.

Why does my Google Drive upload fail to apply metadata automatically?

If your Google Drive upload fails to apply metadata automatically, ensure you are running the command within the required gws CLI environment. The automatic MIME type detection and metadata tagging depend on this integration.