From c2ccb14ffff0e45398365e19dfd2874307ddb943 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 23 Oct 2022 23:45:19 -0300 Subject: Initial commit --- imagescheck/icccheckfile.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 imagescheck/icccheckfile.sh (limited to 'imagescheck/icccheckfile.sh') diff --git a/imagescheck/icccheckfile.sh b/imagescheck/icccheckfile.sh new file mode 100755 index 0000000..5b45466 --- /dev/null +++ b/imagescheck/icccheckfile.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +identify -verbose $1 | egrep -i "profile|iCCP" >/dev/null + +if [ "$?" == 0 ]; then + export name="$1" + export name=${name##../../clientdata/} + echo "ICC or iCCP profile found for image $name" +fi -- cgit v1.2.3-70-g09d2