[KPhotoAlbum] Database merge script

Robert Krawitz rlk at alum.mit.edu
Sat May 20 22:51:12 BST 2017


Here's the first cut at my database merge script.  It works for both
compressed and uncompressed format on version 7 files.

It takes two arguments: the name of the (first) file whose data you
want to merge into the (second) file, and writes the result to stdout.

Note that there could certainly be features I didn't take into account
because I don't use.  The only features I've merged are categories,
images, blocklist, and member groups.  

I have read the result into kpa and saved it, and things appear to be
OK :-)

-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kpa-merge
Type: application/octet-stream
Size: 15371 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20170520/e9bbb558/attachment.obj>


More information about the Kphotoalbum mailing list