Phil Harvey, StarGeek,How are you these days?, it's getting cold here, I'm sure it's getting cold in your place, so take care of yourself.
Recently at work, I met a trouble, our pictures, video, uploaded to the site, found not suitable, download, modify, upload again, will become a new video, or picture, problem: our exiftool powerful tool, can you copy the original MD5 value, SHA1 value, to change the video after the, or in the picture,
I used this code :exiftool -all = -o-image.jpg | md5--.
exiftool FILE -rawimagedigest=`exiftool FILE -all= -o - | md5`
No, I copy the MD5 and SHA1 values, is there any way to implement it now?Please point out, thank you, thank you very much!
This works for JPEG files (on Mac):
> exiftool a.jpg -rawimagedigest=`exiftool a.jpg -all= -o - | md5`
1 image files updated
> exiftool a.jpg -rawimagedigest
Raw Image Digest : 4bea23b154f89ba79ea172b39bbf8200
> exiftool a.jpg -all= -o - | md5
4bea23b154f89ba79ea172b39bbf8200
It won't work for video files though.
- Phil
Phil Harvey, Sir, your quick reply me, so busy at ordinary times, also take care of the little white, thank you very much, really appreciate, I deal with now is the picture, and can be an error every time, and I don't know why, now the problem has three, one, an error every time, I can't solve changed many times, 2, and a little bit don't understand, you send me the code is a. pg to a. pg.What I want is, a.jpg (MD5 before modification) to.jpg(MD5 after modification), 3, if it's video, which code do I need to change?Please guide, thank you, the following is the code output of each error:
G:\exiftool-12.06>exiftool y.gest = 'exiftool y.gest -rawimagedigest=' exiftool y.jcpg-all = -o-| md5 '
'MD5' is not an internal or external command, nor is it a runnable program
Or batch files.
G:\exiftool-12.06>exiftool y.jpg-all = -o-| md5
'MD5' is not an internal or external command, nor is it a runnable program
Or batch files.
G: \ exiftool - > 12.06
Windows doesn't come with an MD5 program. You need to add one.
Also, that command uses the backtick ` shell feature that isn't available on Windows.
And yandazhuang, this is just a suggestion about your profile text "Phil Harvey is an eternal God in my heart!": While this is flattering, in English this is much too strong. You might want to tone it down a bit. ;)
- Phil