Main Menu

duplicates

Started by wayn0i, August 10, 2017, 01:27:49 PM

Previous topic - Next topic

wayn0i

Hi Phil,

Is there a way I can md5 a raw image (image only no metadata) and write that to an existing of custom tag?

Regards

Wayne

Phil Harvey

Hi Wayne,

On Mac/Linux, you could do this:

exiftool -TAG="`exiftool FILE -all= -o - | md5`" FILE

But the success of the -all= depends on the type of raw file and the metadata it contains.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

wayn0i

Thank you Phil thats great but also annoying as I spent 2 hours trying to get it to work.

And if I wanted to run this across a folder of images?

Regards

Wayne

wayn0i

I now know how to process a folder of images, but how do I delete the _original files being created.

Thankyou Phil

Phil Harvey

Add -overwrite_original to the command.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).