I have a large directory containing only material in CS and Math. It has a size of over 16 GB. Types are text, png, pdf and chm. I currently have two branches: a branch of my brother and mine. The initial files were the same. I need to compare them. I tried using Git, but there is a long download time.
What is the best way to compare two large directories?
[Mixed solution]
- Make "ls -R> different_files" in both directories [1]
- "sdiff <(echo file1 | md5deep) <(echo file2 | md5deep)" [2]
What do you think? Any flaws?
[1] thanks to Paul Tomblin [2] Many thanks to all the guys!
source
share