Compare two directories, architecture only

Earnie Boyd earnie@users.sourceforge.net
Fri Mar 30 18:48:00 GMT 2012


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



More information about the Cygwin mailing list