Batch download a Google Drive folder

Lists every file in a shared Drive folder and downloads them all at once — no clicking through 50 files manually.

Best for: Anyone who needs to grab a whole folder of research, designs, or data without opening Drive.

Operations / process-automationatomicno-setupfrom-url

Topics

agent-skillsai-agentautomationclidiscovery-apigemini-cli-extensiongoogle-admingoogle-apigoogle-calendargoogle-chatgoogle-docsgoogle-drivegoogle-sheetsgoogle-workspaceoauth2rust

Source

Creator's repository · googleworkspace/cli

View on GitHub

License: Apache-2.0

Skill file

Preview skill file
---
name: recipe-bulk-download-folder
description: "List and download all files from a Google Drive folder."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-drive
---

# 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`