Copy value from tag in one tag group to same tag in another group

Started by philbond87, March 20, 2024, 09:36:29 PM

Previous topic - Next topic

philbond87

I would like to copy the value in the [IPTC]Source tag to the [XMP]Source tag in the same file.
I have tried:

exiftool "-iptc:source<xmp:source" [file]

however it doesn't seem to work. What would be the correct way to structure the command?

StarGeek

In what way doesn't it work? What is the exact output from exiftool when running that command?  Are you checking for the change with exiftool (use the command in FAQ #3) or with some other program?

That is the correct command and it works correctly here
C:\>exiftool -G1 -a -s -source y:\!temp\Test4.jpg
[IPTC]          Source                          : test
[XMP-photoshop] Source                          : NewTest

C:\>exiftool -G1 -a -s "-iptc:source<xmp:source" y:\!temp\Test4.jpg
    1 image files updated

C:\>exiftool -G1 -a -s -source y:\!temp\Test4.jpg
[IPTC]          Source                          : NewTest
[XMP-photoshop] Source                          : NewTest
"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