Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7 8 9 10 11 12 13
#!/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