diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-10-23 23:45:19 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-10-23 23:45:19 -0300 |
commit | c2ccb14ffff0e45398365e19dfd2874307ddb943 (patch) | |
tree | 976eaea586fb8f1ee0ab8cae67c69071aed8b952 /imagescheck | |
download | tools-c2ccb14ffff0e45398365e19dfd2874307ddb943.tar.gz tools-c2ccb14ffff0e45398365e19dfd2874307ddb943.tar.bz2 tools-c2ccb14ffff0e45398365e19dfd2874307ddb943.tar.xz tools-c2ccb14ffff0e45398365e19dfd2874307ddb943.zip |
Initial commit
Diffstat (limited to 'imagescheck')
-rwxr-xr-x | imagescheck/icccheck.sh | 5 | ||||
-rwxr-xr-x | imagescheck/icccheckfile.sh | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/imagescheck/icccheck.sh b/imagescheck/icccheck.sh new file mode 100755 index 0000000..28a7b37 --- /dev/null +++ b/imagescheck/icccheck.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +export DIR="../../clientdata" + +find -H $DIR -type f -name "*.png" -exec ./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 |