From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4992 invoked by alias); 30 Mar 2012 18:48:04 -0000 Received: (qmail 4979 invoked by uid 22791); 30 Mar 2012 18:48:02 -0000 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 Received: from mail-vx0-f171.google.com (HELO mail-vx0-f171.google.com) (209.85.220.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Mar 2012 18:47:49 +0000 Received: by vcbfl15 with SMTP id fl15so828595vcb.2 for ; Fri, 30 Mar 2012 11:47:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.149.5 with SMTP id r5mr1683158vcv.10.1333133268491; Fri, 30 Mar 2012 11:47:48 -0700 (PDT) Received: by 10.220.225.195 with HTTP; Fri, 30 Mar 2012 11:47:48 -0700 (PDT) In-Reply-To: <6587024.20120330205554@mtu-net.ru> References: <4F742A9E.3080506@bonhard.uklinux.net> <6587024.20120330205554@mtu-net.ru> Date: Fri, 30 Mar 2012 18:48:00 -0000 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@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-03/txt/msg00826.txt.bz2 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