How do I remove duplicate files in UNIX?

Phương Quyên

New member
How do I remove duplicate files in UNIX?
Answer
  1. take all the md5 values.
  2. sort them so dupes are sequential for uniq.
  3. run uniq to output dupes only.
  4. cut the filename from the line with the md5 value.
  5. repeatedly call delete on the filenames.
 

Tìm kiếm

Back
Top