I am using the diff command to compare directory and subdirectories' files like so:
diff -bBE ./dir/* ../parent/dir/* >> diff.txt
But I am getting that :
diff: extra operand `./dir/somefile'
The two directory and subdirectories' files are structured exactly the same way but their content is different. I don't know what I am missing.