
Recipe Bulk Download Folder
Mirror or back up every file in a Google Drive folder locally with list, download, and Docs-to-PDF export commands.
Overview
recipe-bulk-download-folder is an agent skill for the Operate phase that lists and downloads all files from a Google Drive folder using gws, including PDF export for Google Docs.
Install
npx skills add https://github.com/googleworkspace/cli --skill recipe-bulk-download-folderWhat is this skill?
- 3-step recipe: list by parent folder ID, download binaries with alt=media, export Google Docs as PDF
- Requires gws-drive skill and gws binary
- Drive query pattern: FOLDER_ID in parents via files list JSON
- Per-file get and export with -o output paths
- OpenClaw recipe category, productivity domain, v0.22.5
- 1 prerequisite skill: gws-drive
Adoption & trust: 15.9k installs on skills.sh; 26.9k GitHub stars; 2/3 security scanners passed (skills.sh audits).
What problem does it solve?
You have a Drive folder full of mixed file types and need a repeatable way to pull everything local without clicking each file.
Who is it for?
Operators and indies who already use gws-drive and need backup, audit, or migration runbooks for a single folder ID.
Skip if: Real-time sync, selective semantic search across Drive, or teams without gws OAuth and disk space for full-folder mirrors.
When should I use this skill?
List and download all files from a Google Drive folder after loading gws-drive and gws.
What do I get? / Deliverables
You get a local copy of folder files plus PDF exports for Google Docs named via -o flags.
- JSON file listing for folder
- Downloaded binary files
- PDF exports for Google Docs
Recommended Skills
Journey fit
Bulk Drive exports are an operations task—backups, migrations, and local archives once content lives in cloud folders. Infra covers retaining and moving file assets off Drive into controlled storage or build pipelines.
How it compares
Terminal recipe over Drive desktop sync—skill package steps, not a hosted backup SaaS.
Common Questions / FAQ
Who is recipe-bulk-download-folder for?
Builders and ops-minded solos on the gws CLI who need agent-documented steps to enumerate and download an entire Drive folder.
When should I use recipe-bulk-download-folder?
Use it in Operate infra for backups and migrations, in Build docs when pulling shared specs local, or before Ship when archiving launch assets from a team folder.
Is recipe-bulk-download-folder safe to install?
It reads and downloads production Drive content; check the Security Audits panel on this page and limit folder scope and OAuth scopes before bulk export.
Workflow Chain
Requires first: gws drive
SKILL.md
READMESKILL.md - Recipe Bulk Download Folder
# Bulk Download Drive Folder > **PREREQUISITE:** Load the following skills to execute this recipe: `gws-drive` List and download all files from a Google Drive folder. ## Steps 1. List files in folder: `gws drive files list --params '{"q": "'\''FOLDER_ID'\'' in parents"}' --format json` 2. Download each file: `gws drive files get --params '{"fileId": "FILE_ID", "alt": "media"}' -o filename.ext` 3. Export Google Docs as PDF: `gws drive files export --params '{"fileId": "FILE_ID", "mimeType": "application/pdf"}' -o document.pdf`