DragonFly BSD
DragonFly users List (threaded) for 2013-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Unison and Hammer History

From: "peeter (must)" <karu.pruun@xxxxxxxxx>
Date: Tue, 22 Jan 2013 16:28:15 +0000

On Tue, Jan 22, 2013 at 3:50 PM, Freddie Cash <fjwcash@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"



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]