I have a question about the diff command if I want a recursive directory diff but only for a specific file type, how to do that?
I tried using the exclude option but can
You can also use find with -exec to call diff:
cd /destination/dir/1 find . -name *.xml -exec diff {} /destination/dir/2/{} \;