Monday, June 22, 2009

diff ignoring .svn directories

Easy way for comparing two directories and ignoring svn directories. Use the below command to compare two directories recursively and ignoring .svn directories.

diff -r --exclude=".svn" sub/dir/one sub/dir/two

let me know if you run into issues.

5 comments: