From 8c167bedeb7e7b2304706031018f635f96135ccf Mon Sep 17 00:00:00 2001 From: tea Date: Thu, 29 Aug 2024 15:16:48 +0200 Subject: [PATCH] photoprep: don't scale up --- .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 eb8718b..d5c9f90 100755 --- a/.config/zsh/functions/photoprep +++ b/.config/zsh/functions/photoprep @@ -31,7 +31,7 @@ for file in ${@}; do # write select EXIF data to temporary file exiftool -json ${file} | jq ${jq_filter} | grep -v null > ${exif_json} - magick -quality ${quality} ${file} -auto-orient -strip -resize ${size} ${newfile} + magick -quality ${quality} ${file} -auto-orient -strip -resize ${size}\> ${newfile} # add EXIF data to new (scrubbed) file exiftool -json=${exif_json} -quiet -overwrite_original ${newfile} rm ${exif_json}