Clearly, your code works as advertised. But I'm hoping you can explain to me why it works, cause I wanna learn. Inquiring minds want to know, and all that. Here's my guess and attempt at explanation.
The situation is that after I use Photoshop Elements to export my .nef to a .jpg, because of a Photoshop Elements bug, the .jpg contains Image Description, GPS, and IPTC information, but the EXIF camera information and maker notes has disappeared (it is not in the .jpg file). The .nef contains the rest of the EXIF, but not the GPS and not the IPTC. Thus my need to combine the metadata from the .nef and exported .jpg.
So, in your code, -all= will remove all the metadata from the .jpg and we will re-create the metadata properly. This -all= also creates a .jpg_original file. (Is that correct?) Then, the -tagsfromfile %nefdir%/%%f.nef -all:all appears to copy all metadata from the .nef to the .jpg. So far, I think I understand, but after that I'm guessing. Next, your code has a second -tagfromfile ... does this cause information to be copied from the .jpg_original file that was create by -all=?? If so, does the command -gps:all copies the GPS information from .jpg_original to the new .jpg?
What does the @ do?
Thanks!
Paige
(6)
]
