$ 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