Recipe Bulk Download Folder

List and download all files from a Google Drive folder.

nota-america Updated

File contents

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

nota-america/forgecat-agent-profiles/tree/main/profiles/googleworkspace/cli/googleworkspace_cli-skills/for-codex/.agents/skills/recipe-bulk-download-folder commit f8fcc9ac1b

Frequently asked questions

npx skillmds@latest add nota-america/recipe-bulk-download-folder