Recipe Find Large Files

作者 googleworkspacea3768d0e82ad無授權條款31K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫昨天更新

Identify large Google Drive files consuming storage quota.

AI 產生的概覽

透過依大小排序列出檔案,找出佔用儲存空間配額的大型 Google Drive 檔案。

功能
這個配方指示代理依配額使用量排序列出 Google Drive 檔案,顯示最大檔案的 ID、名稱、大小、MIME 類型與擁有者。接著由代理檢視輸出,找出可封存或搬移的檔案。它產出的是最大儲存空間佔用者的排序清單,而不會修改任何檔案。
適用情境
當 Drive 帳戶儲存空間不足,需要找出佔用空間最多的檔案時使用。它適合以快速取得大型檔案排序清單為目標的清理或封存決策。
執行需求
需要 gws 命令列工具,並需載入 gws-drive 技能。需要已驗證的 Google Drive 存取權限與網路連線。不附帶指令碼,僅為操作說明。

Find Largest Files in Drive

PREREQUISITE: Load the following skills to execute this recipe: gws-drive

Identify large Google Drive files consuming storage quota.

Steps

  1. List files sorted by size: gws drive files list --params '{"orderBy": "quotaBytesUsed desc", "pageSize": 20, "fields": "files(id,name,size,mimeType,owners)"}' --format table
  2. Review the output and identify files to archive or move

來源與署名

來源:googleworkspace/cli位於skills/recipe-find-large-files提交a3768d0

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架