Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] How to figure out which files are duplicates



Also play with the comm command. 

I wrote:

>    find /mnt/cd1 -type f -exec md5sum {} \; | sort >cd1.md5sum.sort
>    find /mnt/cd2 -type f -exec md5sum {} \; | sort >cd2.md5sum.sort

comm -1 -2 -3 cd1.md5sum.sort cd2.md5sum.sort

Unfortunately, I don't know how to tell comm to look only at the md5sum 
and not the filename. That's why I roll my own scripts. 



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links