I have two directories with same files but with some difference in their contents. I want to list down those files which are differing. For exampleThere are two folders Folder1 and Folder2 with files file1,file2,file3,etc. file2 of Folder1 is not similar to file2 of Folder2. So my command should list file2.How can I do that ?
Difference between files in directory
files;directory;diff;file comparison
You can compare directories with diff:$diff -qr dirA dirBOnly in dirB: file.txtFiles dirA/README and dirB/README differ