mirror of
https://git.sr.ht/~sircmpwn/mkproof
synced 2024-05-04 02:36:03 +02:00
87d922c6c6
git-subtree-dir: argon2i git-subtree-mainline:3e7a084af1
git-subtree-split:440ceb9612
14 lines
243 B
Bash
Executable File
14 lines
243 B
Bash
Executable File
#!/bin/sh
|
|
|
|
for file in `ls | grep '^[a-z2]*\(_v\)\?[0-9]*$' | xargs`
|
|
do
|
|
new=`shasum -a 256 $file`
|
|
old=`cat $file.shasum`
|
|
if [ "$new" = "$old" ]
|
|
then
|
|
echo $file "\t" OK
|
|
else
|
|
echo $file "\t" ERROR
|
|
fi
|
|
done
|