Skip to content

Commit

Permalink
now reads any jp2/tif in the input dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarin committed Oct 16, 2024
1 parent 8ab38d3 commit 8583176
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions bin/jhove_image_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@
# Dumps the full xml of the validation.
# Interesting elements to grep in the output include 'status' and 'message'.
# Invocation:
# docker compose run --rm test bash jhove_image_check.sh
/opt/jhove/jhove -h XML -c /opt/jhove/conf/jhove.conf images_to_test/*.tif
# docker compose run --rm test bash bin/jhove_image_check.sh
ls -w1 images_to_test | egrep '\.(jp2|tif)$' |
while read FILENAME;
do
/opt/jhove/jhove -h XML -c /opt/jhove/conf/jhove.conf "images_to_test/$FILENAME";
echo
echo "---"
echo
done;

0 comments on commit 8583176

Please sign in to comment.