From 872023216646af4bdc5a1ab5d2651898eca7fc23 Mon Sep 17 00:00:00 2001 From: tea Date: Mon, 14 Oct 2024 13:07:23 +0200 Subject: [PATCH] photoprep: preserve title in exif data --- .config/zsh/functions/photoprep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/functions/photoprep b/.config/zsh/functions/photoprep index d5c9f90..0f5ab68 100755 --- a/.config/zsh/functions/photoprep +++ b/.config/zsh/functions/photoprep @@ -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}