$ find -not -empty -type f -printf "%s\n" | sort -rn | uniq -d | xargs -I{} -n1 find -type f -size {}c -print0 | xargs -0 md5sum | sort | uniq -w32 -D --all-repeated=separate
This dup finder saves time by comparing size first, then md5sum, it doesn't delete anything, just lists them.
by David Winterbottom (codeinthehole.com)
0sem comentários ainda