I have a number of directories with imagines named folder.jpg moviename-poster.jpg
Where 'moviename-poster.jpg' would have the 'moviename' part of the string be different. Most usually based on an .mp4 file present in the directory, not the parentname of the directory.
Is there a way to check that they have the same hash?
As in, recursively search child directories within a path (but only at a certain depth) and confirm that the hashes for two files are the same.
I'm guessing some combination of sibling: might be involved? As I'm only interested in verifying that folders with moviename-poster.jpg and folder.jpg are the same.
I suppose my alternative is to use some scripting externally to do this, as part of the eventual solution is going to be to correctly copy the images as needed. But since EV has all this data already, I figured I'd give it a chance to find the results to confirm that I have a widespread enough inconsistency to justify writing some code to deal with it.
check that images are the same?
Re: check that images are the same?
To find the posters, please try the following search:
To find poster files with the same hash, please try:
Code: Select all
<<whole:folder.jpg sibling:*-poster.jpg> | <*-poster.jpg whole:sibling:folder.jpg>>
To find poster files with the same hash, please try:
Code: Select all
<<whole:folder.jpg sibling:*-poster.jpg> | <*-poster.jpg whole:sibling:folder.jpg>> dupe:size;sha256
Re: check that images are the same?
dupe:size;sha256So we're processed left to right, so size dupes are found before any files hashed, correct?
Re: check that images are the same?
Yes, correct.