Phương Quyên
New member
How do I remove duplicate files in UNIX?
Answer
Answer
- take all the md5 values.
- sort them so dupes are sequential for uniq.
- run uniq to output dupes only.
- cut the filename from the line with the md5 value.
- repeatedly call delete on the filenames.