From: Carl Hetherington Date: Mon, 10 Apr 2017 08:38:42 +0000 (+0100) Subject: Add hack script. X-Git-Tag: v2.11.1~53 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=361248ef52bcd3de2d0a1e18b635d177fded81a1;hp=4073923b2c5ccf127c61435cd575542351421f05;p=dcpomatic.git Add hack script. --- 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