Unable to replace comma on Creator tag

Started by Craxo, October 30, 2020, 06:01:57 AM

Previous topic - Next topic

Craxo

Hi, I've asked this on a previous post ( https://exiftool.org/forum/index.php?topic=11183.msg59842#msg59842 )
I want to replace all non alphanumeric characters to spaces in the tags, I was suggested to use this command:
exiftool -tagsfromfile @  --TAG -api "filter=s/[^\s\w]/ /g" img

Now i've noticed that a unexpected thing is happening, the script does replace all nonalphanumeric characters in all tags except creator tag, the commas stay in place.
when even running against all tags the comma stays in place:
exiftool -tagsfromfile @  -api "filter=s/[^\s\w]/ /g" img

I've tried the following versions with no luck:
11.70
11.99
12.09

Your help would be much appreciated
Thanks!

Phil Harvey

XMP-dc:Creator is a list-type tag.  When combining list items, ExifTool uses a comma separator by default, but that comma is not stored in the file.  Read more about this in FAQ 17

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Craxo