StoreSKILL.mdRead at a3768d0
recipe-bulk-download-folder
List and download all files from a Google Drive folder.
Overview
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
- 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
Files 1 file
Install it by hand
Deska runs this for you, for every agent you pick. To run it yourself in a terminal:
npx skills add googleworkspace/cli --skill recipe-bulk-download-folderMore from googleworkspace
- gws-gmailgoogleworkspaceOfficialGmail: Send, read, and manage email.78.8K installs on skills.sh0
- gws-gmail-sendgoogleworkspaceOfficialGmail: Send an email.72.7K installs on skills.sh0
- gws-drivegoogleworkspaceOfficialGoogle Drive: Manage files, folders, and shared drives.71.8K installs on skills.sh0
- gws-sharedgoogleworkspaceOfficialgws CLI: Shared patterns for authentication, global flags, and output formatting.63.4K installs on skills.sh0
- gws-calendargoogleworkspaceOfficialGoogle Calendar: Manage calendars and events.58.6K installs on skills.sh0