Recipe Find Large Files

by googleworkspacea3768d0e82adNo license31K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated yesterday

Identify large Google Drive files consuming storage quota.

Instructions onlyProductivity & Workflow
AI-generated overview

Identifies large Google Drive files that consume storage quota by listing files sorted by size.

What it does
This recipe instructs an agent to list Google Drive files ordered by quota usage, showing the largest items with their IDs, names, sizes, MIME types and owners. It then has the agent review that output to spot files that could be archived or moved. It produces a ranked view of the biggest storage consumers rather than modifying any files.
When to use it
Use it when a Drive account is running low on storage and you need to find which files take up the most space. It suits cleanup or archiving decisions where a quick ranked list of large files is the goal.
Requirements
Requires the gws command-line binary and the gws-drive skill to be loaded. It needs authenticated access to Google Drive and network connectivity. It ships no scripts; it is instructions only.

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

Source and attribution

Source:googleworkspace/cliinskills/recipe-find-large-filesat commita3768d0

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal