Batch copy XMP date to EXIF date in same file

Started by Vivien, July 26, 2017, 06:46:58 AM

Previous topic - Next topic

Vivien

Hello

I'm Vivien, first time user of ExifTool on OS X 10.11, I think I have an unusual need but I expect it 'll be doable.
I've searched a bit in the description of ExifTool on the website, as well as in the forum, using keywords but not page-by-page so please don't yell at me if the topic exist already :)

So, I have a bunch of pictures with creation date removed from EXIF datas (dunno how), but fortunately stil written in XMP datas.

So I'm hopping it's possible to copy from one set to the other, on the same file, and if it can be done in batch that would be the cherry on the cake!

Have a nice day




Hayo Baan

Copying data from one tag to another is easy: exiftool '-targetTag<srcTag' DIRorFILE

Replace srcTag with the tag that has the date you want and targetTag with the exif tag you want to write.
Hayo Baan – Photography
Web: www.hayobaan.nl

StarGeek

If there's other XMP data that you might want to copy back to the EXIF, there's also the xmp2exif.args file that you can grab from the SourceForge repository.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Vivien

Thanks a lot @Hayo Baan and @StarGeek for the fast replies and the tips!

I'm sorry I couldn't answer before but I've tried your command and it worked exactly as needed. I learned a thing or two with this program about pictures metadatas, I'm really hapy to have it.

By the way, I'm in dire need to recover pictures on an erased SSHD (but not secure-erased, I think it was only a removed partition), do you happen to know a software that can not only recover pictures but also the metadatas in it ? Or better, reinstate the original partition ?

elvis

I'm pretty sure I used Disk Drill to recover an SD card on my Mac. It's been a while ago, but I do remember that it recovered all of it. It's been years, so I hope my memory is right.

Vivien

Disk Drill looks good but it's a bit expensive. Not sure if it's equivalent, I have Data Rescue andt never used it, I'll give it a try :)

Aside from those apps, I found cli programs that seems to do the job pretty well too: DDRescue, Foremost, and PhotoRec whitch is a part of TestDisk, a really good utility that can recover deleted or damaged partitions. I hope using those tools I can recover the pictures I lost.