Ignore .svn when doing `diff -r`
- by Sridhar Ratnakumar
diff has an option --recursive (-r) to do a comparison between two directories (the files inside them). Is there a way to make diff ignore certain sub-directories (eg: .svn)?
$ diff -r src1/ src2/