diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-12 18:47:33 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-12 18:47:33 -0300 |
commit | 6a343e058a776b1050773c53da583ac044df6f0f (patch) | |
tree | b469ef551024b75aa29a1d8f3365a3c0969bb0da /CI/imagescheck | |
parent | 59bc766bbbaba86d0424411f51e62778e5d37fef (diff) | |
download | messworld-tools-6a343e058a776b1050773c53da583ac044df6f0f.tar.gz messworld-tools-6a343e058a776b1050773c53da583ac044df6f0f.tar.bz2 messworld-tools-6a343e058a776b1050773c53da583ac044df6f0f.tar.xz messworld-tools-6a343e058a776b1050773c53da583ac044df6f0f.zip |
Add CI Utils. Add Updater. And add my analysis tool (wikigen)
Diffstat (limited to 'CI/imagescheck')
-rwxr-xr-x | CI/imagescheck/icccheck.sh | 5 | ||||
-rwxr-xr-x | CI/imagescheck/icccheckfile.sh | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/CI/imagescheck/icccheck.sh b/CI/imagescheck/icccheck.sh new file mode 100755 index 0000000..6ca1481 --- /dev/null +++ b/CI/imagescheck/icccheck.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +export DIR="../../client-data" + +find -H $DIR -type f -name "*.png" -exec ./icccheckfile.sh {} \; diff --git a/CI/imagescheck/icccheckfile.sh b/CI/imagescheck/icccheckfile.sh new file mode 100755 index 0000000..dbdfb23 --- /dev/null +++ b/CI/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##../../client-data/} + echo "ICC or iCCP profile found for image $name" +fi |