Ubuntu – Compare two folder content

diff()Ubuntu

How can I compare two folder content under linux.
I'm using diff but I want to display only the files with the same names.

Best Answer

At least you can use

diff -s dir otherdir | grep -v "Only in"

Related Topic