This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cannot implement -x switch for diff


Hello,
I want to compare the contents of two large directories whilst omitting two subdirectories console5/ and console7/ common to both. But using any combination of
diff -rq /d1 /d2 -x console
diff -rq /d1 /d2 -x console.
diff -rq /d1 /d2 -x "console./"
(and several others I thought might work) the subdirectories are not skipped.
(I've tried -X with a file argument though I prefer -x with a pattern argument as above with no requirement to create files. Also, I would like to utilise the trailing / after -x so that any files that happened to be named console* would undergo comparison, only the subdirectories are skipped.)
Any ideas?
Fergus




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]