仓库原始内容
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
Bulk Download Drive Folder
PREREQUISITE: Load the following skills to execute this recipe: gws-driveList and download all files from a Google Drive folder.
Steps
- List files in folder:
gws drive files list --params '{"q": "'\''FOLDER_ID'\'' in parents"}' --format json - Download each file:
gws drive files get --params '{"fileId": "FILE_ID", "alt": "media"}' -o filename.ext - Export Google Docs as PDF:
gws drive files export --params '{"fileId": "FILE_ID", "mimeType": "application/pdf"}' -o document.pdf

