diff options
| -rw-r--r-- | hacks/poor_mans_digest | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hacks/poor_mans_digest b/hacks/poor_mans_digest new file mode 100644 index 000000000..843a28f76 --- /dev/null +++ b/hacks/poor_mans_digest @@ -0,0 +1,5 @@ +#!/bin/bash + +head -c 1000000 "$1" > /tmp/$$.a +tail -c 1000000 "$1" > /tmp/$$.b +cat /tmp/$$.a /tmp/$$.b | md5sum |
