p4_sizes
Get file sizes and disk usage statistics for Perforce files, with options to filter by filespec, block size, shelved files, and revisions.
Instructions
Get file sizes and disk usage statistics
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Limit output to the first max files using -m (optional) | |
| filespec | No | Filespec to get sizes for (optional, defaults to current directory) | |
| blockSize | No | Round sizes up to a block size in bytes using -b (optional) | |
| filespecs | No | Filespecs to get sizes for in one command (optional) | |
| shelvedOnly | No | Display size info for shelved files only using -S (optional) | |
| allRevisions | No | List all revisions in the range using -a (optional) | |
| workspacePath | No | Path to workspace directory (optional, defaults to current directory) | |
| omitLazyCopies | No | Omit lazy copies from totals using -z (optional) |