This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Compare two directories, architecture only
- From: Andrey Repin <anrdaemon at freemail dot ru>
- To: Fergus <fergus at bonhard dot uklinux dot net>, cygwin at cygwin dot com
- Date: Fri, 30 Mar 2012 20:55:54 +0400
- Subject: Re: Compare two directories, architecture only
- References: <4F742A9E.3080506@bonhard.uklinux.net>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
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