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
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.
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 (https://sourceforge.net/p/exiftool/code/ci/master/tree/arg_files/) repository.
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 ?
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.
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.