recipe-bulk-download-folder
bởi Google
Liệt kê và tải xuống tất cả tệp từ một thư mục Google Drive.
npx skills add https://github.com/googleworkspace/cli --skill recipe-bulk-download-folderBulk 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
Thêm skills từ Google
gws-modelarmor-sanitize-response
Google
Google Model Armor: Làm sạch phản hồi của mô hình thông qua một mẫu Model Armor.
gws-people
Google
Quản lý danh bạ và hồ sơ.
gws-shared
Google
gws CLI: Các mẫu dùng chung cho xác thực, cờ toàn cục và định dạng đầu ra.
gws-sheets
Google
Google Sheets: Đọc và ghi bảng tính.
gws-sheets-append
Google
Google Sheets: Thêm một hàng vào bảng tính.
gws-sheets-read
Google
Google Sheets: Đọc giá trị từ một bảng tính.
gws-slides
Google
Google Slides: Đọc và viết bài thuyết trình.
gws-tasks
Google
Google Tasks: Quản lý danh sách tác vụ và tác vụ.