commit c0c38852998dc51de465b4238f301b9b2d02733a parent 63b19a6b84085428fa8fd72e42008aed56cec935 Author: hhvn <dev@hhvn.uk> Date: Wed, 2 Jun 2021 17:56:34 +0100 .s/b/imgclean: print suffix Diffstat:
M | .scripts/bin/imgclean | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.scripts/bin/imgclean b/.scripts/bin/imgclean @@ -24,8 +24,8 @@ do # ignore already created [ ! -f "$odir/$sum".jpg ] && { - printf '%s --> %s... ' "$f" "$odir/$sum" + printf '%s --> %s... ' "$f" "$odir/$sum.jpg" exiftool "$f" -all= -o "$odir/$sum".jpg >/dev/null printf 'done\n' - } || printf "%s already exists, ignoring %s...\n" "$odir/$sum" "$f" + } || printf "%s already exists, ignoring %s...\n" "$odir/$sum.jpg" "$f" done