mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-22 06:11:31 +03:00
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
|