技能 效率工具 云盘文件夹批量下载

云盘文件夹批量下载

v20260401
recipe-bulk-download-folder
通过 gws 命令列出 Google Drive 文件夹并逐个下载所有文件,支持将 Google 文档导出为 PDF,适合需要批量获取云端资料的场景。
获取技能
289 次下载
概览

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
信息
Category 效率工具
Name recipe-bulk-download-folder
版本 v20260401
大小 815B
更新时间 2026-04-08
语言