Re: Seen file question(s) with cvt_cyrusdb

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

 



And as I think about it I guess that makes sense because cvt_cyrusdb 
uses the normal database stuff - so it doesn't actually clear out the 
destination database before it starts. It assumes it's supposed to 
update the database.

So changed records get replaced and new records get added but existing 
records remain unchanged.

Sorry for talking to myself!

On 08/12/10 13:49, Bill Ryder wrote:
>
>
> On 08/12/10 13:32, Bill Ryder wrote:
>> Hi all,
>>
>> When I do this:
>>
>> cvt_cyrusdb /tech/home/bryder/cyrus/check_seen/bryder.seen.flat  
>> /cyrus/cyrusMetadata/user/b/bryder.seen skiplist
>>
>> And then this:
>>
>> cvt_cyrusdb /cyrus/cyrusMetadata/user/b/bryder.seen skiplist 
>> /tech/home/bryder/cyrus/check_seen/bryder.seen.flat.new flat
>
> OK.
>
> So this gets stranger.
>
> If I have an empty file as my new flat file - the lines remain.
>
> But if I copy /dev/null to the file and then run it the lines are gone.
>
> So I guess cvt_cyrusdb flat does some kind of merge?
>
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux