add old md5 scripts

This commit is contained in:
2019-02-03 11:08:48 +01:00
parent d157a23798
commit 6358248825
3 changed files with 116 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/bin/bash
md5=$1
md5_dub=$(mktemp)
cat $md5 | cut -c -32 | awk 'seen[$0] {print} {++seen[$0]}' | sort -u > $md5_dub