Find duplicate files
find_duplicate_filesScan a folder recursively to find duplicate files by content hash, listing each duplicate group's locations, count, and wasted disk space. Handles large trees with a 20,000-file scan cap.
Instructions
Recursively scan a folder for duplicate files (same content, by hash - not just same name) and report each duplicate group's file name, every location, and the count, plus total wasted disk space. Stops after 20000 files scanned on a very large tree and reports truncated: true if it hit that cap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Folder to scan, or a friendly name like "documents" |