KopeteLogMerge

Chat & Messenging

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

KopeteLogMerge provides a script, klm, for merging Kopete log directories and files from one location with those from another, so that if you use or have used Kopete on multiple computers, you can sync your logs. It also allows you to create archives for backup or transfer, and merge its contents with another Kopete log directory.

It comes with a man page and a simple install script.

Dependencies:
*Bash
*XMLStarlet

Optional:
*HTML Tidy (for neatly formatted logs after merging)
*gzip
*bzip2
*lzma

Version 0.0.1 is alpha and has not been fully tested to make sure it works properly, and doesn't break things. Please proceed with caution, make backups, and pass sane arguments. If things break, let me know. Comments and suggestions are welcome.
Last changelog:

11 years ago

0.0.1 Initial alpha release

AiFiLTr0

11 years ago

Hi, thanks for the script. I've been playing with it dor some time trying to make kopete history be synced with my notebook.
Here are the bugs I've found:
First the script went on recursivly creating a /logs/logs/logs/... etc directories.
Here is the fix: in dirMerge(), just after the line
find ./logs -type f -print0 | while IFS= read -r -d '' log; do
log2 assignment should look like:
log2="$dest/.$log"

The next bug is that when the xml files are actually merged each message is duped several times. I haven't found a fix to that behaviour yet, but I'll post it as soon as find it.

P.S. The log version for the kde4 version of kopete seems to be the same 0.9

Report

AiFiLTr0

11 years ago

Ok, conserning tidy. Since I'm using utf8 as the encoding and many of the messages are in russian the option -utf8 to the script allows to avoid corruption that would have happed otherwise. Still looking for a way to remove the dupes from the logs.

Report

11 years ago

0.0.1 Initial alpha release

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.0.1
updated Jul 04 2008
added Jul 04 2008
downloads 24h
0
pageviews 24h 2
System Tags app software