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]

Re: Cannot implement -x switch for diff


On 12/01/2012 09:17, Fergus wrote:
> 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./"

  That's regex notation.  Have you tried a glob pattern instead?

    cheers,
      DaveK

--
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]