ExifTool: मैं - @ और -tagsFromFile तर्कों का एक साथ उपयोग कैसे करूँ?


1

मैं विशिष्ट टैग को छोड़कर सभी मेटाडेटा को निकालने के लिए - @ और -tagsFromFile तर्कों का एक साथ उपयोग करने की कोशिश कर रहा हूं और फिर उन विशिष्ट टैगों को IPTC और 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

ExifTool v9.63 IPTC और XMP हेडर को टैग कॉपी करता है, EXIF ​​हेडर को पूरी तरह से बिना किसी बहिष्करण के स्ट्रिप्स करता है, और निम्नलिखित त्रुटि को आउटपुट करता है:

> exiftool -@ exif2all *.jpg
Ignored superfluous tag name or invalid option: -tagsFromFile @ -CreateDate -DateTimeOriginal -Artist -XP*

मैं - @ और -tagsFromFile तर्कों का एक साथ उपयोग कैसे करूं?

हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.