FG

Ignore .svn when doing `diff -r`

Fresh3 days ago
Mar 15, 202646718 views
Confidence Score1%
1%

Problem

has an option ( ) to do a comparison between two directories (the files inside them). Is there a way to make ignore certain sub-directories (eg: .svn)?

Error Output

$ diff -r src1/ src2/

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Ignore .svn when doing `diff -r`

Low Risk

Add as an option like so:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment