http://qs321.pair.com?node_id=1167041


in reply to Re: Script to compare 2 folders, including sub folders and files with content
in thread Script to compare 2 folders, including sub folders and files with content

-qrs would be better since OP is only listing files, not the actual diff:

$ diff -qrs /tmp/A /tmp/B Only in /tmp/A: Math.aux Files /tmp/A/Math.log and /tmp/B/Math.log differ Files /tmp/A/Math.pdf and /tmp/B/Math.pdf differ Files /tmp/A/Math.tex and /tmp/B/Math.tex differ Files /tmp/A/MathLogo.jpg and /tmp/B/MathLogo.jpg are identical

Update: Oh oops, looks like haukex already said this... I missed it behind the part of their post that actually answered the original question :). Think of this post as highlighting the alternate solution.

Good Day,
    Dean