Display differences between /destination/dir/1 and /destination/dir/2 excluding files with names ending with extensions '.foo', '.bar' and '.baz'
diff -x '*.foo' -x '*.bar' -x '*.baz' /destination/dir/1 /destination/dir/2