diffing 2 directories

diff – one of the most important tools for any programmer. Especially when you work with large code bases. Today I had a need to diff between 2 directories. And both of these have a HUGE number of files and sub-folders in them.

What I needed is a way to just list out the files that were modified between the 2 builds. I poked around for a bit and I found this command,
diff -qr dirA dirB | sort > diffs.txt
What it does is compare the 2 directories and reports just the modified file names. ( “sort” cleans things up) Just what I needed.