Forum Discussion
Recommend me a best duplicate photo cleaner for PC Windows 10
You can try to use the built-in functions of Windows system to do duplicate photo cleaner for PC without any third-party tools. Although it is not so smart, it can sometimes solve some duplicate image cleaning problems.
- Use certutil+for command to find duplicate images
Press Win+R, enter cmd, and press Enter. - For example, if your photos are all in the D:\Photos directory, enter:
cd /d D:\Photos
3 Generate MD5 list of all files
Enter the following command to generate hash values for each image and save them to a txt file:
for %i in (*.jpg *.png *.jpeg) do @certutil -hashfile "%i" MD5 >> hashlist.txt
You can also add other formats to the suffix, such as CR2, HEIC, etc.
- Find duplicate hash
Open hashlist.txt with Notepad. As long as the hash is the same, it is a duplicate image. You can use Ctrl+F to search or directly sort and compare with the naked eye. - Manual deletion
After finding the duplicate file name, just delete it directly using the command or resource manager.
The advantage of this pure command line duplicate photo cleaner for PC method is that it is completely built-in by the system and is not afraid of advertisements and viruses. The disadvantage is that you need to manually screen the hash yourself, which is suitable when there are not too many pictures. If the number of pictures is particularly large, it is recommended to use a professional duplicate photo cleaner for Windows 10 tool, which is much more efficient.