其他

recipe-find-large-files

googleworkspace/cli

Identify large Google Drive files consuming storage quota.

  • 3万 次安装
  • 3.2万 星标
  • 收录于

安装命令

npx skills add https://github.com/googleworkspace/cli --skill recipe-find-large-files

要点

Identify large Google Drive files consuming storage quota.

  • Lists files sorted by size in descending order to quickly spot storage hogs
  • Returns file metadata including ID, name, size, MIME type, and owners for informed deletion or archival decisions
  • Requires the gws-drive skill to be loaded before execution

SKILL.md

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