Difference between revisions of "Duplicate File Finder"

From Baranoski.ca
Jump to navigation Jump to search
(Created page with "Originally from [Reddit https://stackoverflow.com/questions/76242708/find-duplicate-files-with-hash-and-length-but-use-other-algorithm] but I added a .bat wrapper")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Originally from [Reddit https://stackoverflow.com/questions/76242708/find-duplicate-files-with-hash-and-length-but-use-other-algorithm] but I added a .bat wrapper
+
Originally from [https://superuser.com/questions/1315365/how-can-i-generate-an-md5-sum-for-a-folder-on-windows Superuser.com]
 +
 
 +
==getsums.bat==
 +
<PRE>
 +
@echo off
 +
for /R . %%f in (*.*) do (
 +
    echo | set/p="%%f ~~~ "
 +
    certutil -hashfile "%%f" MD5 | findstr /V ":"
 +
)
 +
</PRE>
 +
 
 +
<PRE style="color:white;background-color:black;font-weight:bold;font-size:1.2em;">
 +
getsums.bat > output.txt
 +
</PRE>

Latest revision as of 12:15, 22 April 2025

Originally from Superuser.com

getsums.bat

@echo off
for /R . %%f in (*.*) do (
    echo | set/p="%%f ~~~ "
    certutil -hashfile "%%f" MD5 | findstr /V ":"
)
getsums.bat > output.txt