1#!/bin/sh 2 3# Find duplicates in the root directory by MD5 hash 4 5# Usage : ./dupcheck | sort -k2 |uniq -d -f1 6 7# set -x 8 9cd roots 10for root in * ; do 11 printf "$root\t" 12 printf "`openssl x509 -inform DER -in "$root" -fingerprint -noout`\n" 13done 14 15 16