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 从公开仓库中收录这些内容。

举报或申请下架