how do i delete the FileName tag

Started by monotrememan, April 24, 2025, 10:18:09 AM

Previous topic - Next topic

monotrememan

i have an .mp4 file with a rogue FileName tag.
when i attempt to delete it, i get an error:
$ exiftool -FileName=  temp8a
Warning: Can't delete File:FileName

is there a way to delete this tag?

StarGeek

To start, use the command in FAQ #3 to find out the group it belongs to.
exiftool -G1 -a -s -Filename file.mp4

Copy/paste the output here and use the code button, the one above the text box that has <> on it, to format it properly.

Looking over the tag list, it doesn't look like there's a tag called Filename other than the actual name of the file, but if I recall, there have been a case or two in the past that had one.

Once we know what group the tag belongs, then we can try to figure out how to remove it.
"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

monotrememan

#2
well, i did say "FileName", but here is what you asked for:
$ exiftool -G1 -a -s -FileName temp8
[System]        FileName                        : temp8

StarGeek

Case doesn't matter when it comes to tag names.

This output doesn't show any extra FileName tags. Can you show me the command you used and the output that shows the extra FileName? Make sure and include the three options I listed -G1 -a -s
"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

monotrememan

ohhhh. i figured it out. your questions made me realise my error.
i was using mplayer to view the file and i thought it was displaying
the FileName tag as the title. alas, it was displaying the "Title"  field.
so i know how to delete that, thanks to the inbuilt documentation.

sorry for my confusion, and thanks!

StarGeek

No worries, glad you have it figured out.
"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