googleworkspace avatar

Recipe Find Large Files

googleworkspace/cli
20.2k

This skill helps identify the largest files consuming Google Drive storage by listing and sorting files based on their size. It is useful for users looking to manage and free up storage space by reviewing and archiving large files. The key capability involves retrieving structured data about drive files, enabling efficient storage management for individuals and teams.

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

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

GitHub Owner

Owner: googleworkspace

SKILL.md


name: recipe-find-large-files version: 1.0.0 description: "Identify large Google Drive files consuming storage quota." metadata: openclaw: category: "recipe" domain: "productivity" requires: bins: ["gws"] skills: ["gws-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

More skills