find -type while read name do echo name tmp dupsearch_ md5sum name sed

1
2
find / -type f | while read name; do echo "$name" >> /tmp/dupsearch_`md5sum "$name" | sed 's/[ ].*//g'`; done
ls /tmp | grep ^dupsearch_ | while read name; do [ `cat "/tmp/$name" | wc -l` -lt 2 ] && rm "/tmp/$name"; done