file · Command reference
qzx findLargeFiles
What it does
Searches for files with specific extensions that exceed a given size
Canonical command: findLargeFiles
Accepted aliases: None
Case-sensitive: no
Included in the published package
Available in PyPI 0.2.2.0.2. This page documents the 0.2.2.0.2 alpha development checkout.
Safety and effects
Read-only under the current classification
No documented dry-run parameter
No native program invocation in the current classification
No documented network use
No inherent elevation requirement
This safety classification was reviewed against implementation digest sha256:0530ba31af946ae73b351d6e7c2e4906eacddcbd4c8cb60acc9411ed609a84d8 on 2026-07-24.
Exact syntax
qzx findLargeFiles <directory> <extension> <min_size> [recursive] [sort_by] --jsonParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| directory | str | Yes | Not declared | Base directory to start the search from |
| extension | str | Yes | Not declared | File extension to filter by (e.g., "*.pas", "*.txt") |
| min_size | str | Yes | Not declared | Minimum file size in bytes |
| recursive | str | No | "-r" | Recursion level: -r/--recursive for unlimited depth, -rN/--recursiveN for N levels deep |
| sort_by | str | No | "size" | Sort results by: "name", "size", "date" |
Input examples
qzx findLargeFiles . *.pas 300Find all .pas files in current directory larger than 300 bytes
qzx findLargeFiles src *.py 1024 -rFind all .py files in src directory and subdirectories larger than 1KB
qzx findLargeFiles project *.js 5000 false nameFind all .js files (non-recursive) larger than 5KB, sorted by name
For the complete structured payload, add --json: qzx findLargeFiles <directory> <extension> <min_size> [recursive] [sort_by] --json
Representative output example
This illustrative JSON is derived from the current implementation-backed result contract. It shows what the command can return without claiming a recorded execution; values vary with inputs, host, permissions, and optional tools.
Example command: qzx findLargeFiles . *.pas 300 --json
{
"success": true,
"message": "Searches for files with specific extensions that exceed a given size. In this illustrative example, the command completed successfully.",
"directory": "C:\\project\\example.txt",
"extension": "Example value",
"files": [
{
"path": "src/example.py",
"size_readable": "4.2 KiB"
}
],
"files_found": "C:\\project\\example.txt",
"min_size": 4096,
"min_size_bytes": 4096,
"recursive": true,
"sort_by": "Example value",
"total_size": 3,
"total_size_readable": 3
}View the JSON result contract
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": [
"success",
"message"
],
"properties": {
"success": {
"type": "boolean"
},
"message": {
"type": "string"
},
"directory": [],
"error": {
"type": "string"
},
"extension": [],
"files": [],
"files_found": [],
"min_size": [],
"min_size_bytes": [],
"recursive": [],
"sort_by": [],
"total_size": [],
"total_size_readable": []
},
"additionalProperties": true
}Errors and limits
The public contract requires success=false and a descriptive message on failure. This catalog does not yet declare a command-specific error taxonomy; inspect the result and do not invent error codes.
QZX is alpha software. Optional dependencies, permissions, and host capabilities can change the result.
Evidence workflow: ready for deterministic automated capture.
Evidence and provenance
- Implementation
- src/qzx/commands/file/find_large_files.py
- Tests
- No command-specific test file with the same module name was found; this does not prove that all coverage is absent.
- Documentation channel
- Development documentation 0.2.2.0.2 · main · sha256:319b16857a87636ebc3b89734cc040a737bb56194464fca33ce73bdae2043096
- Availability
- 0.2.2.0.2 or earlier
Keep exploring
Related commands
These commands also belong to the file category. Compare them to choose the operation that best fits your task.
qzx findFilesAdvanced file search with multiple filtering options (like find + grep combined)qzx findTextSearches for text patterns in files with advanced filtering optionsqzx findDuplicateFilesScans a directory for identical/duplicate files by file size matching and MD5 hashingqzx getFileHashCalculates cryptographic hashes (MD5, SHA-1, SHA-256) of a file