Want to copy files from multiple folders into one folder, for example, there are folders 1, 2, 3, ..., 100; for example, folder 1 has files A.JPG B.JPG; folder 2 has A.JPG C.JPG; folder 3 has A.JPG B.JPG C.JPG; there are many duplicate files like this, and it is required to copy all of them into a new folder. Because there are three duplicates of A.JPG, it is required to keep only one in the new folder and rename it to A=3.JPG, B.JPG has two duplicates so rename it to B=2.JPG, C also has two duplicates rename it to C=2.JPG, so in the new folder there are these three: A=3.JPG
B=2.JPG
C=2.JPG
Please ask experts to write a code like this, thank you!
[ Last edited by hlzer on 2020-3-11 at 22:58 ]
B=2.JPG
C=2.JPG
Please ask experts to write a code like this, thank you!
[ Last edited by hlzer on 2020-3-11 at 22:58 ]
