List and download all files from a Google Drive folder.
List and download all files from a Google Drive folder.
PREREQUISITE: Load the following skills to execute this recipe: gws-drive
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
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`
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。