X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Message-ID: <4F0EBE6C.6010000@gmail.com> Date: Thu, 12 Jan 2012 11:05:16 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cannot implement -x switch for diff References: <4F0EA540 DOT 1030404 AT bonhard DOT uklinux DOT net> In-Reply-To: <4F0EA540.1030404@bonhard.uklinux.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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