<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sheikh Muhammad Talha Bin Khalid</title>
    <description>The latest articles on DEV Community by Sheikh Muhammad Talha Bin Khalid (@faintestmemoryofwhoioncewas).</description>
    <link>https://dev.to/faintestmemoryofwhoioncewas</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1067467%2Fa15a9337-e4d3-496a-8d7e-492cfc99e1a3.jpg</url>
      <title>DEV Community: Sheikh Muhammad Talha Bin Khalid</title>
      <link>https://dev.to/faintestmemoryofwhoioncewas</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/faintestmemoryofwhoioncewas"/>
    <language>en</language>
    <item>
      <title>Built a duplicate file finder in Java, here's how it works</title>
      <dc:creator>Sheikh Muhammad Talha Bin Khalid</dc:creator>
      <pubDate>Sun, 01 Nov 2026 22:43:59 +0000</pubDate>
      <link>https://dev.to/faintestmemoryofwhoioncewas/built-a-duplicate-file-finder-in-java-heres-how-it-works-fl0</link>
      <guid>https://dev.to/faintestmemoryofwhoioncewas/built-a-duplicate-file-finder-in-java-heres-how-it-works-fl0</guid>
      <description>&lt;p&gt;So I've been working on this little project called DupeLens. It's basically a Java CLI that finds duplicate files in your folders and generates an HTML report.&lt;/p&gt;

&lt;p&gt;Nothing crazy, just something I thought would be useful.&lt;/p&gt;

&lt;p&gt;Why I made it&lt;/p&gt;

&lt;p&gt;I wanted a simple way to check which files were duplicated without worrying about accidentally deleting something important.&lt;/p&gt;

&lt;p&gt;So I built one myself.&lt;/p&gt;

&lt;p&gt;How it works&lt;/p&gt;

&lt;p&gt;It's pretty straightforward.&lt;/p&gt;

&lt;p&gt;First, it checks file sizes. If two files have different sizes, there's no reason to compare them further.&lt;/p&gt;

&lt;p&gt;For files with matching sizes, it uses SHA-256 to check whether their contents are identical.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;And that's about it. It doesn't delete, move, or modify your files.&lt;/p&gt;

&lt;p&gt;Wanna try it?&lt;/p&gt;

&lt;p&gt;You'll need Java 17 or newer.&lt;/p&gt;

&lt;p&gt;Download the JAR from GitHub and run:&lt;/p&gt;

&lt;p&gt;java -jar dupelens.jar ./your-folder --html report.html&lt;/p&gt;

&lt;p&gt;Then just open report.html in your browser.&lt;/p&gt;

&lt;p&gt;What's next?&lt;/p&gt;

&lt;p&gt;Just released v1.0.0, so it's still pretty early.&lt;/p&gt;

&lt;p&gt;I'm thinking about adding exclusion patterns and JSON output, but I'm open to other ideas too.&lt;/p&gt;

&lt;p&gt;If anyone wants to check out the code or suggest improvements, that'd be cool.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/illusionoftalha/dupelens" rel="noopener noreferrer"&gt;https://github.com/illusionoftalha/dupelens&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's open-source and MIT-licensed.&lt;/p&gt;

</description>
      <category>java</category>
      <category>opensource</category>
      <category>showdev</category>
      <category>cli</category>
    </item>
  </channel>
</rss>
