photoprep: preserve title in exif data
This commit is contained in:
parent
c763d1c699
commit
8720232166
@ -23,7 +23,7 @@ local size=${o_size[2]}
|
||||
local format=${o_format[2]}
|
||||
|
||||
mkdir -p photoprep
|
||||
local jq_filter='.[0] | {"ImageDescription", "UserComment", "Comment", "Description", "Description-en-US", "Description-de-DE", "Subject"}'
|
||||
local jq_filter='.[0] | {"ImageDescription", "UserComment", "Comment", "Description", "Description-en-US", "Description-de-DE", "Subject", "Caption", "Title", "Object Name"}'
|
||||
for file in ${@}; do
|
||||
newfile=photoprep/${file##*/}
|
||||
newfile=${newfile%.*}.${format}
|
||||
|
Loading…
x
Reference in New Issue
Block a user