Metadata behind metadata... ?

Started by philbond87, September 28, 2023, 09:09:17 AM

Previous topic - Next topic

philbond87

I have a situation where a camera has written to the EXIF:Artist tag.
I have tried to overwrite that data, but when I look at it in exiftool using:

exiftool -a -exif:artist
I see both values – the one written by me and the one written by the camera.
How can I get rid of one of them? (without doing something as drastic as exiftool -exif:all= )

Thanks

wywh

#1
Use a command that shows actual tag names (-s), what groups they belong to (-G1), duplicate tags (-a):

exiftool -a -G1 -s file.jpg

Then remove just the desired tag, if possible.

- Matti

philbond87

#2
@wywh, I tried that initially.

It shows that it appears in the same tag and tag group. Same group/tag, different information.

eg.

[EXIF]Artist  "name1"
[EXIF]Artist  "name2"

I would like to add that the file in question is an ARW. I have not seen this issue before with any other filetype.

StarGeek

Your output shows you used -G, not -G1.  If you use that, you should see something like
C:\>exiftool -G1 -a -s -Artist y:\!temp\Test4.jpg
[IFD0]          Artist                          : Correct Artist Location
[IFD1]          Artist                          : Incorrect Artist Location

The Artist tag in IFD1 is in the incorrect location and exiftool won't update it by default.  You can either updated both
exiftool -Artist="Leonardo" -IFD1:Artist="Leonardo" /path/to/files/

Or remove it
exiftool -IFD1:Artist= /path/to/files/

You might find a few other EXIF tags that have the same problem, most likely IFD1:ModifyDate, which should be in IFD0.

Quote from: philbond87 on September 28, 2023, 11:55:36 AMI would like to add that the file in question is an ARW. I have not seen this issue before with any other filetype.

You never want to use -EXIF:all= on a RAW file type, as it can destroy the image.
"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

philbond87

Thanks, @StarGeek!

(And yes, I realize erasing exif:all can damage raw files and NEVER use it... hence the question.)