Running ubuntu 12.04, I want to compare 2 directories, say folder1/ and folder2/ and copy any files that are different to folder3/. There are also nested files, so matching subdirectories should be ...
There are two directories I'd like to compare. I tried diff but it includes the changes inside the files. All I want is something like this file a is just in /A file b is missing in /A file c ...