2024-09-01: ExifTool 12.96 is now available
exiftool.exe" -G1 -a -s -if "${RegionName;s/,?\s*Ignored,?\s*//g} ne ${RegionName;s/,?\s*Ignored,?\s*//g;NoDups}" -r FOLDER
QuoteNote that this causes missing values in -tagsFromFile, -p and -if strings to be set to an empty string rather than an undefined value.
Quote from: ArchZu on Today at 04:27:20 AMDigikam writes one way, it seems to use exiv2 to write 'x:xmptk="XMP Core 4.4.0-Exiv2"'. exiftool is recording the data differently.
exiftool-1259.exe DSC*.JPG -if "defined $imageuniqueid" -p \"$directory/$filename,$dateacquired\" -m
3 files failed condition
0 image files read
exiftool-1260.exe DSC*.JPG -if "defined $imageuniqueid" -p \"$directory/$filename,$dateacquired\" -m
"./DSC_0320.JPG,"
"./DSC_0321.JPG,"
"./DSC_0380.JPG,"
3 image files read
LensDataVersion = 0802
ExitPupilPosition = 0
AFAperture = 0
FocusPosition = 0
FocusDistance = 0
FocalLength = 0
LensIDNumber = 0
LensFStops = 0
MinFocalLength = 0
MaxFocalLength = 0
MaxApertureAtMinFocal = 0
MaxApertureAtMaxFocal = 0
MCUVersion = 0
EffectiveMaxAperture = 0
-> ExtendedLensID = 00 00 00 00 00 00 00 00
ZLensID = 2305
LensMountType = Z-mount Lens
ZMaxAperture = 2,82842712474619
ZFNumber = 5,99322830750673
ZFocalLength = 10
FocusDistanceRangeWidth = 144
ZFocusDistance = 89,1250938133746
LensDriveEnd = 0
LensPositionAbsolute = 55
LensName = Laowa FFII 10mm f/2.8 AF C&D Dreamer
Quote from: StarGeek on September 11, 2024, 10:26:33 AMThis is entirely dependent upon the programs you use. You would have to test each program.
Quote from: StarGeek on Today at 01:35:06 AMI'm not sure what you are trying to do. Which of these has the correct data and the incorrect data. What exactly are you trying to set Categories to?
<rdf:Description rdf:about=""
acdsee:categories=""
/>
<rdf:Description rdf:about=''
xmlns:acdsee='http://ns.acdsee.com/iptc/1.0/'>
<acdsee:categories></acdsee:categories>
</rdf:Description>
<Categories><Category Assigned="1">Anime<Category Assigned="1">RPG1</Category>
into<Categories><Category Assigned="0">Anime<Category Assigned="1">RPG1</Category>
you would do it with some other program that can deal with XML and then rewrite the tag with