Jdupes
Examples
Find duplicate files:
jdupes --recurse --print-summarize dir1 dir2
Convert duplicates to hard links:
jdupes --recurse --link-hard dir1 dir2
Find duplicate files:
jdupes --recurse --print-summarize dir1 dir2
Convert duplicates to hard links:
jdupes --recurse --link-hard dir1 dir2