I have two directories with the same list of files. I need to compare all the files present in both the directories using the diff command. Is there a simple co
diff
You can use the diff command for that:
diff -bur folder1/ folder2/
This will output a recursive diff that ignore spaces, with a unified context: