Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jun 2002 10:12:24 -0500
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Running Diff of Directories
Message-ID:  <3.0.5.32.20020609101224.01044510@mail.sage-one.net>
In-Reply-To: <20020609114333.N7785-100000@localhost>
References:  <3.0.5.32.20020609092149.01044510@mail.sage-one.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:46 AM 6.9.2002 -0300, Fernando Gleiser wrote:
>On Sun, 9 Jun 2002, Jack L. Stone wrote:
>
>> I'm trying to run an analysis of two large directories, on two different
>> computers and only want to know what file names do not exist in one versus
>> the other and want to ignore file size or dates. I have run a directory
>> listing on each one, "file1" and "file2".
>>
>> I assume this is a job for "diff", but don't see "ignore option" for dates
>> and file size, except perhaps a regex, which I don't grasp. How would I
>> determine only the filenames that exist in file1 but not in file2....???
>
>If you don't care about size, dates, permissions, and the like run a
>'ls -R' which won't show them. Then you can do a 'diff -u' to see what files
>are in one dir and not in the other.
>
>Hope this helps.
>
>
>			Fer
>
...of course! It's always the simple & obvious one doesn't see! Thanks
Fer....

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
jackstone@sage-one.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020609101224.01044510>