360 Secure SkillHub
360 安全技能中心

Recipe Bulk Download Folder

该 Skill 先列出指定 Google Drive 文件夹中的文件,再逐个下载,并支持将 Google 文档导出为 PDF;依赖 gws 命令行和 gws-drive 前置技能,未说明分页与递归子文件夹处理。

googleworkspace-bot
googleworkspace-bot
热度 73.81
最近更新 2026-05-11 17:29:17
分类:效率依赖:第三方 API / 读写文件应用场景:工作流 / 文件转换

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add recipe-bulk-download-folder
Metadata
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