eden/tools/url-hash.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
77 B
Bash
Raw Normal View History

#!/bin/sh
SUM=$(wget -q "$1" -O - | sha512sum)
echo "$SUM" | cut -d " " -f1