Re: Command line filtering
Robert Krawitz <rlk-FrUbXkNCsVf2fBVCVOL8/[email protected]>
| Newsgroups | gmane.comp.kde.kimdaba |
|---|---|
| Message-ID | <20190217161408.B24C41416F9@localhost> |
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-FrUbXkNCsVf2fBVCVOL8/[email protected]> *** 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