X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <6587024.20120330205554@mtu-net.ru> References: <4F742A9E DOT 3080506 AT bonhard DOT uklinux DOT net> <6587024 DOT 20120330205554 AT mtu-net DOT ru> Date: Fri, 30 Mar 2012 14:47:48 -0400 Message-ID: Subject: Re: Compare two directories, architecture only From: Earnie Boyd To: Andrey Repin Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Fri, Mar 30, 2012 at 12:55 PM, Andrey Repin wrote: > Greetings, Fergus! > >> Is there an easy way to compare two directories for content (names only >> of subdirectories and files, not their identical content). ls -1 dir1 > /tmp/dir1.out && ls -1 dir2 > /tmp/dir2.out && diff -u /tmp/dir1.out /tmp/dir2.out > > What you want it for? Who cares? This was a simple question that has a simple answer. Fergus will let you know if it isn't what he wanted. ;D -- Earnie -- https://sites.google.com/site/earnieboyd -- 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