-----Original Message-----
From: Steve Manuel <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, September 08, 2000 11:49 AM
Subject: Re: Differences between two directories


>On Thu, Sep 07, 2000 at 08:49:15PM -0700, Peter Blomgren wrote:
>> Chad,
>>
>> > If I create a directory "a" and copy it to directory "b" then add or
delete
>> > files from "a," how could I get a list of the files that are different
>> > between the two directories?
>>
>> "diff" (in diffutils-2.7-17), with the --recursive option.
>>
>
>Be carefull with this one. It will diff the *contents* of each file in both
>directories; not diff the file names.
>
If you were to write a script that did an ls a/ >> first and then as ls b/
>> second and finally diff first second, you would get the right sort of
results.  That is, if your just looking for new / missing files.  I gave it
a test run here.  Hope this helps.

Jeff Hogg



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to