Sleep for a while if necessary to allow disks to wake up (#1916).
[dcpomatic.git] / hacks / poor_mans_digest
1 #!/bin/bash
2
3 head -c 1000000 "$1" > /tmp/$$.a
4 tail -c 1000000 "$1" > /tmp/$$.b
5 cat /tmp/$$.a /tmp/$$.b | md5sum