From f5fb1ff81f25ebedc272a7e9f5bd37eae140a022 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 11 Feb 2024 20:08:57 +0100 Subject: [PATCH] photoprep: preserve "Subject" EXIF tag (contains digiKam tags) --- .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 85ef360..eb8718b 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"}' +local jq_filter='.[0] | {"ImageDescription", "UserComment", "Comment", "Description", "Description-en-US", "Description-de-DE", "Subject"}' for file in ${@}; do newfile=photoprep/${file##*/} newfile=${newfile%.*}.${format}