file · Command reference
qzx findDuplicateFiles
What it does
Scans a directory for identical/duplicate files by file size matching and MD5 hashing
Canonical command: findDuplicateFiles
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:918991ef44ca2183b8bf9f35f39ab2f38f0941a3b59ebcc95623d2e3cc667dc5 on 2026-07-24.
Exact syntax
qzx findDuplicateFiles [scan_path] [min_size_kb] [max_depth] --jsonParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| scan_path | str | No | "." | Path to start searching for duplicate files (defaults to current directory) |
| min_size_kb | str | No | "10" | Minimum file size in KB to consider for duplicates (defaults to 10) |
| max_depth | str | No | "4" | Maximum depth level to walk directories recursively (defaults to 4) |
Input examples
qzx findDuplicateFilesSearch for duplicates in the current directory (min 10KB)
qzx findDuplicateFiles C:/my-assets 0Search for all duplicate files of any size inside C:/my-assets
For the complete structured payload, add --json: qzx findDuplicateFiles [scan_path] [min_size_kb] [max_depth] --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 findDuplicateFiles --json
{
"success": true,
"message": "Scans a directory for identical/duplicate files by file size matching and MD5 hashing. In this illustrative example, the command completed successfully.",
"duplicate_groups": [
{
"name": "example",
"status": "ok"
}
],
"reclaimable_bytes": 4096,
"reclaimable_space_readable": "4.00 KiB",
"scan_path": "C:\\project\\example.txt",
"total_duplicate_files": 3,
"total_groups": 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"
},
"duplicate_groups": [],
"error": {
"type": "string"
},
"reclaimable_bytes": [],
"reclaimable_space_readable": [],
"scan_path": [],
"total_duplicate_files": [],
"total_groups": []
},
"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_duplicate_files.py
- 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 findBrokenSymlinksScans directories for broken symbolic links (pointing to nonexistent files or folders)qzx findFilesAdvanced file search with multiple filtering options (like find + grep combined)qzx downloadFileDownloads a file from the Internet (similar to 'wget' or 'curl' in Unix)qzx findLargeFilesSearches for files with specific extensions that exceed a given size