Remove tags from image-info

This commit is contained in:
Bert Münnich 2019-01-01 13:44:59 +01:00
parent 2fb8a8d5fe
commit 04950162ea

View File

@ -14,9 +14,7 @@ exec 2>/dev/null
filename=$(basename -- "$1") filename=$(basename -- "$1")
filesize=$(du -Hh -- "$1" | cut -f 1) filesize=$(du -Hh -- "$1" | cut -f 1)
geometry="${2}x${3}" geometry="${2}x${3}"
tags=$(identify -format '%[IPTC:2:25]' ":$1" | tr ';' ',')
echo "${filesize}${s}${geometry}${tags:+$s}${tags}${s}${filename}" echo "${filesize}${s}${geometry}${s}${filename}"