Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Built a duplicate file finder in Java, here's how it works

说明与用途

DupeLens 是一个 Java 命令行工具,通过文件大小预过滤和 SHA-256 内容校验找出重复文件,在终端中显示结果并可选择生成 HTML 报告,不会删除或修改文件。

问题

Need a way to identify duplicate files in a directory without risking accidental deletion of important files.

结果

DupeLens finds duplicate files by size pre-filtering and SHA-256 content hashing, reports duplicates in terminal and as an optional HTML report, and does not modify files.

工作流

  • Check file sizes; skip comparison if sizes differ.
  • For files with matching sizes, compute SHA-256 checksums to compare contents.
  • Display duplicate groups in the terminal.
  • Optionally generate an HTML report via --html flag.

证据

It's basically a Java CLI that finds duplicate files in your folders and generates an HTML report.

来源

First, it checks file sizes. If two files have different sizes, there's no reason to compare them further.

来源

For files with matching sizes, it uses SHA-256 to check whether their contents are identical.

来源

Once it's done, it shows the duplicates in the terminal. You can also generate an HTML report if you want something easier to look through.

来源

It doesn't delete, move, or modify your files.

来源

You'll need Java 17 or newer.

来源

Download the JAR from GitHub and run: java -jar dupelens.jar ./your-folder --html report.html

来源

GitHub: https://github.com/illusionoftalha/dupelens

来源

Just released v1.0.0, so it's still pretty early.

来源

  • 记录日期: 2026-11-02T08:44:07.863Z