360 Secure SkillHub
360 安全技能中心

recipe-bulk-download-folder

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

分类:效率
googleworkspace
热度 71.48
最近更新 2026-10-18 17:15:26

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add googleworkspace/cli/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