public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@freemail.ru>
To: Fergus <fergus@bonhard.uklinux.net>, cygwin@cygwin.com
Subject: Re: Compare two directories, architecture only
Date: Fri, 30 Mar 2012 17:05:00 -0000	[thread overview]
Message-ID: <6587024.20120330205554@mtu-net.ru> (raw)
In-Reply-To: <4F742A9E.3080506@bonhard.uklinux.net>

Greetings, Fergus!

> Is there an easy way to compare two directories for content (names only 
> of subdirectories and files, not their identical content).

What you want it for? If you only need it for your own convenience, you can
use compare tool included in file managers like Wincommander or Far Manager.

> (1) "diff" compares the content of files: too strong a comparison;
> (2) Could "find" both directories and then compare output, but this will 
> list the entire content under any non-matching subdirectories, when all 
> I need is the fact of the non-match.
> (i.e. I need
> diff -rq d1 d2 | sed ' /^Files /d'    OR    diff -rq d1 d2 | grep '^Only'
> without the scrutiny of file content that diff provides.)


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 30.03.2012, <20:54>

Sorry for my terrible english...


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

  parent reply	other threads:[~2012-03-30 17:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29  9:26 Fergus
2012-03-29 11:34 ` marco atzeri
2012-03-30 17:05 ` Andrey Repin [this message]
2012-03-30 18:48   ` Earnie Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6587024.20120330205554@mtu-net.ru \
    --to=anrdaemon@freemail.ru \
    --cc=cygwin@cygwin.com \
    --cc=fergus@bonhard.uklinux.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).