kpa-util

Robert Krawitz <rlk-FrUbXkNCsVf2fBVCVOL8/[email protected]> Fri, 13 Mar 2020 22:50:18 -0400 (EDT)
Newsgroups gmane.comp.kde.kimdaba
Message-ID <20200314025018.AEE7F424A55@localhost>
I've pushed it into contrib as an initial revision.  It shouldn't be
considered anywhere near stable at this point.

One big disadvantage of the way it functions now is that operations
have to be done one at a time, which means parsing the file, making
the change, and saving it back.  Because of this, it took me about 5
hours to shuffle everything around when I did it last weekend.  That
was fine for my purpose; I just let it run overnight.  I have ideas
about allowing a stream-based command input, so one could perform
multiple operations on a single parsed file.

One other corner case that has to be handled is the possibility of
tags, categories, and filenames having embedded newlines (and, for
that matter, backslashes).
-- 
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