Estou tentando usar os argumentos - @ e -tagsFromFile juntos para remover todos os metadados, exceto tags específicas, e depois copiar esses tags específicos para os cabeçalhos IPTC e XMP.
exif2all:
# Disable backup file
-overwrite_original_in_place
# Strip all headers
-all=
# Preserve these tags (not working)
-tagsFromFile @ -CreateDate -DateTimeOriginal -Artist -XP*
# Copy EXIF to IPTC
-EXIF:Artist > IPTC:By-line
-EXIF:XPTitle > IPTC:ObjectName
-EXIF:XPComment > IPTC:Caption-Abstract
-EXIF:XPSubject > IPTC:Keywords
# How do I append EXIF:XPKeywords to IPTC:Keywords?
# -EXIF:XPKeywords > IPTC:Keywords
-EXIF:DateTimeOriginal > IPTC:DateCreated
-EXIF:DateTimeOriginal > IPTC:TimeCreated
-EXIF:CreateDate > IPTC:DigitalCreationDate
-EXIF:CreateDate > IPTC:DigitalCreationTime
# Copy EXIF to XMP
-EXIF:Artist > XMP-dc:Creator
-EXIF:XPTitle > XMP-dc:Title
-EXIF:XPComment > XMP-dc:Description
-EXIF:XPComment > XMP:ImageDescription
-EXIF:XPSubject > XMP-dc:Subject
# How do I append EXIF:XPKeywords to XMP-dc:Subject?
# -EXIF:XPKeywords > XMP-dc:Subject
-EXIF:DateTimeOriginal > XMP:CreateDate
-EXIF:DateTimeOriginal > XMP:DateTimeOriginal
O ExifTool v9.63 copia os tags para os cabeçalhos IPTC e XMP, retira completamente o cabeçalho EXIF sem quaisquer exclusões e gera o seguinte erro:
> exiftool -@ exif2all *.jpg
Ignored superfluous tag name or invalid option: -tagsFromFile @ -CreateDate -DateTimeOriginal -Artist -XP*
Como uso os argumentos - @ e -tagsFromFile juntos?
Tags exiftool