[KPhotoAlbum] Command line filtering

Robert Krawitz rlk at alum.mit.edu
Sun Feb 17 16:14:08 GMT 2019


On Sun, 17 Feb 2019 08:29:57 +0100, Tobias Leupold wrote:
>> For a project I might or might not do, I was thinking of writing a
>> script to list the images in an index.xml file, with optional
>> filtering on the command line or via a file.
>
> Just fyi: contrib/ contains a set of Python scripts to access the
> database. Perhaps you want to have a look at these?

That's a possibility for the parsing engine.  It needs to be updated
(it only supports through version 6) and it's a lot slower (it takes
about a minute to parse my database vs. 16 seconds with my Perl
code).  But the harder work is going to be the filtering and output
engine, anyway.
-- 
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



More information about the Kphotoalbum mailing list