Script To Find Duplicate Names


SUBMITTED BY: GaivsIvlivs

DATE: March 21, 2022, 1:46 p.m.

FORMAT: Text only

SIZE: 245 Bytes

HITS: 264

  1. #### Find duplicate file- and folder- names. ####
  2. function dupes () {
  3. 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
  4. }

comments powered by Disqus