Joseph Herlant
version 1.0.0, 2014-06-16 : Initial version

This little shell script helps you to find duplicated files in a given package (named "my_package" here) installed on your computer.

#!/bin/sh
set -eu

for f in $(dpkg -L my_package); do
    [ -f $f -a ! -h $f ] || continue
    sha256sum $f
done | sort | uniq --all-repeated=separate --check-chars=64