gdcli

Manage Google Drive files from the command line via gdcli.

122|16|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/w-winter/dot314 --skill gdcli-w-winter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gdcli
Source: https://github.com/w-winter/dot314/tree/main/skills/gdcli
Command: npx skills add https://github.com/w-winter/dot314 --skill gdcli-w-winter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables users to manage Google Drive operations from the command line, replacing tedious GUI tasks with fast, repeatable CLI workflows.

Core Features & Use Cases

  • List files and folders in Google Drive for a given account from the terminal
  • Search, upload, download, and share items directly via CLI
  • Automate common workflows such as batch transfers, backups, and cross-account operations
  • Use Case: A developer automates daily backups of a specific Drive folder to a local directory and to another Drive location.

Quick Start

Install the tool with npm install -g @mariozechner/gdcli. Then configure accounts and run commands such as:

  • gdcli accounts list
  • gdcli <email> ls [folderId]

Frequently Asked Questions about gdcli

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

FAQPage Schema
How do I manage Google Drive files from the command line?

You can manage Google Drive files from the command line by installing the gdcli tool globally via npm, then using terminal commands to list, search, upload, download, and share items across accounts. It replaces tedious GUI tasks with fast, repeatable CLI workflows.

Can I automate batch uploads and downloads to Google Drive via CLI?

Yes, you can automate batch uploads and downloads to Google Drive via CLI. This skill supports automating common workflows such as batch transfers, backups, and cross-account operations directly from the terminal.

Do I need OAuth credentials to access Google Drive accounts from the terminal?

Yes, you need OAuth credentials to access Google Drive accounts from the terminal. Google Drive OAuth credentials must be configured for account access before you can execute commands like listing files or sharing folders.

What is the best way to list and search files across multiple Google Drive accounts?

The best way to list and search files across multiple Google Drive accounts is using a CLI tool like gdcli. After configuring accounts, you can run commands to list folders for a specific email or search items directly from the terminal.

Why use a command-line interface instead of the Google Drive GUI for file operations?

You would use a command-line interface instead of the Google Drive GUI to replace tedious manual tasks with fast, repeatable CLI workflows. It is particularly suitable for developers automating daily backups or cross-account batch transfers.