Skip to content

Commit

Permalink
ival: simplify the log
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavid committed Nov 9, 2023
1 parent bfbf824 commit 3a31b01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/ival
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Validates image files.
# shellcheck disable=SC1091,SC2034 # File not following, variable unused.
readonly \
BASE_APP_VERSION=0.9.20230805 \
BASE_APP_VERSION=0.9.20231109 \
BASE_MIN_VERSION=0.9.20230606
. base.sh
validate_cmd convert
Expand All @@ -14,6 +14,6 @@ isreadable "$DIR" || die Directory "$DIR" is not readable.
find "$DIR" -type f \
\( -name \*.jpg -o -name \*.nef -o -name \*.raf -o -name \*.heic \) |
while read -r img; do
convert "$img" null >/dev/null 2>&1 || loge FAIL: "$img".
log OKAY: "$img".
convert "$img" null >/dev/null 2>&1 || loge no: "$img".
log ok: "$img".
done

0 comments on commit 3a31b01

Please sign in to comment.