Comparing files with different names in two folders
Comparing files with different names in two folders
Author
Discussion

Origin Unknown

Original Poster:

2,498 posts

200 months

Thursday 29th November 2018
quotequote all
i have a folder containing images from an iPhone which were manually pulled off the device over USB. They are named IMG_XXXX.JPG. In another folder, I have a set of images which were uploaded via OneDrive from the the iPhone. These are named YYYYMMDD_XXXXXXXX.JPG.

I know there are some duplicates which I would like to eliminate.

I plan to generate a hash of each file using the Microsoft tool File Checksum Integrity Verifier in each folder and compare. Initial tests on known comparable files show identical hashs but before I do, am I doing this right?

illmonkey

19,842 posts

229 months

Thursday 29th November 2018
quotequote all
Just use WinMerge to compare and then delete.

Origin Unknown

Original Poster:

2,498 posts

200 months

Thursday 29th November 2018
quotequote all
Ta, that's a bit simpler.

illmonkey

19,842 posts

229 months

Thursday 29th November 2018
quotequote all
It's exportable to CSV, from there you can filter identical files, wrap some cells together to get the command to delete and just copy/paste to CMD.

xeny

5,540 posts

109 months

Thursday 29th November 2018
quotequote all
I use doublekiller for this kind of problem - it can compare files on name, date, size or CRC, lists duplicates that meet your criteria and then lets you delete them.

https://www.bigbangenterprises.de/en/doublekiller/

Trustmeimadoctor

14,373 posts

186 months

Thursday 29th November 2018
quotequote all
also beyondcompare is decent