Unison and Hammer History

peeter (must) karu.pruun at gmail.com
Tue Jan 22 08:28:15 PST 2013


On Tue, Jan 22, 2013 at 3:50 PM, Freddie Cash <fjwcash at gmail.com> wrote:
>
>> OK I see the same happening with rsync. Seems to me that rsync (and
>> possibly unison as well) delete the old file and then create a new
>> file. Each time a file is changed on the desktop, when you do rsync,
>> it looks as a newly created file on the server with no history and a
>> single line for transaction and time stamp; and the time stamp is the
>> moment when rsync was done.
>
> try adding --inplace to the rsync  options and see if that works better.

Thanks---interestingly, this has the consequence that after rsyncing
from desktop to server, the original transaction id and timestamp
remain in place, so there is still only one entry in the history,
while the contents of the file does change. I used

rsync -avz --inplace -e "ssh etc"

Peeter

--



More information about the Users mailing list