This is pretty niche, so I am not sure if there is even any possible solution for this. I have hundreds of images files that are part of an animation sequence, the vast majority of which are the exact same frame, and I need to find the duplicates. Thing is, I need to ONLY find the ones that are duplicates in a row, not ones that get duplicated later after a different image since some of the frames of the animation repeat later.
As far as I am aware nearly all duplicate file or photo software can't take this into account, if you tell it to find duplicates in a directory it will just find all of them in regardless of order. I need it so for example if the first 1-5 files are the same, it will delete 2-5, then start with file 6 and scan for duplicated of that onward... but if say by file 100 it's a duplicate of 1 again, I do NOT want to delete it.. but delete files 101, 102, 103 etc if those are duplicates of 100 (which would also be a duplicate of 1).
Is there any software to do something like this? If it makes it easier it doesn't have to be a visual match, the duplicate files have the same hashes as well. I was thinking maybe I could just write a batch file or something to do this by their matching hashes but I would have no idea where to even start.
As far as I am aware nearly all duplicate file or photo software can't take this into account, if you tell it to find duplicates in a directory it will just find all of them in regardless of order. I need it so for example if the first 1-5 files are the same, it will delete 2-5, then start with file 6 and scan for duplicated of that onward... but if say by file 100 it's a duplicate of 1 again, I do NOT want to delete it.. but delete files 101, 102, 103 etc if those are duplicates of 100 (which would also be a duplicate of 1).
Is there any software to do something like this? If it makes it easier it doesn't have to be a visual match, the duplicate files have the same hashes as well. I was thinking maybe I could just write a batch file or something to do this by their matching hashes but I would have no idea where to even start.