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/icccheckfile.sh | |
download | tools-c2ccb14ffff0e45398365e19dfd2874307ddb943.tar.gz tools-c2ccb14ffff0e45398365e19dfd2874307ddb943.tar.bz2 tools-c2ccb14ffff0e45398365e19dfd2874307ddb943.tar.xz tools-c2ccb14ffff0e45398365e19dfd2874307ddb943.zip |
Initial commit
Diffstat (limited to 'imagescheck/icccheckfile.sh')
-rwxr-xr-x | imagescheck/icccheckfile.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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 |