1 2 3 4 5
#/bin/sh cd "$(dirname "$0")" for script in *.css *.js; do shasum -a 256 < $script | cut -d' ' -f1 | xxd -r -p | base64 -w 0 > $script.sha256 done