Open RhetTbull opened 3 years ago
Can be used with or without --exiftool
Once --exiftool
run and file is exported, process any --exiftool-template
tags.
Add to osxphotos push-exif
too.
Also add --exiftool-template-merge
which functions the same but merges with data in the file.
Should there also be a --exiftool-remove
which removes / clears the tag? --exiftool-remove "XMP:TagsList"
Add
--exiftool-template TAG TEMPLATE
option to export to allow setting of arbitrary EXIF tags using template system. For example:--exiftool-template "XMP:Subject" "{label}"
to use labels as Subjects--exiftool-template "XMP:Title" "{title,}"
Multi-valued fields would expand to multiple commands to exiftool:
--exiftool-template "IPTC:Keywords" "{keywords}"
results in:exiftool -IPTC:Keywords=foo -IPTC:Keywords=bar
but could do:
--exiftool-template "IPTC:Keywords" "{,+keywords}"
to expand in-line to single keyword:exiftool -IPTC:Keywords="foo,bar"