Directory comparison

Roberto Waltman r3000 at warwick.net
Wed Jul 29 02:44:36 UTC 2009


NoOp wrote:
> On 07/27/2009 05:26 AM, Roberto Waltman wrote:
>> R Kimber wrote:
>>> Can anyone recommend an application that I can use to compare modification
>>> times and filenames in directories on a remote server with those on my PC?
>>>
>>> - Richard
>> Unison: http://www.cis.upenn.edu/~bcpierce/unison/
>>
>> (Can be installed from synaptic)
>>
>> Roberto Waltman
>>
> 
> Will Unison allow Richard to do what he is asking above?
> 

Yes - It builds a database of files on both systems, showing which files
are different, as in:
(a) exist in only one of the systems.
(b) exist in both, different contents.
(c) exist in both, same contents, different attributes (modification
time, owner, protection, etc. where applicable.)

Then allows the user to chose which differences to propagate and in
which direction. (Easier with the GUI frontend - Change propagation can
also be made automatic to keep both sides in sync after an initial
comparison)

But if the need is only to compare names and time stamps, it is an
overkill and can be very slow the first time is used on large filesets.

R.W.

PS: Correction - the "systems" can also be different subtrees in the
same machine.





More information about the ubuntu-users mailing list