xca/misc/gen-binary-hash

6 lines
96 B
Plaintext

test -z "$1" || cd $1
sha256sum * | while read md file; do
echo ' "'$file'":"'$md'",'
done