Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 --all-repeated=separate > duplicate_hash.txt
- cat duplicate_hash.txt | uniq -w32 | cut -c 35- | sed '/^$/d' | sed -r 's/ +/\\ /g' | tr '\n' '\0' | xargs -0 -n1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement