[KPhotoAlbum] Command line filtering
Johannes Zarl-Zierl
johannes at zarl-zierl.at
Sun Feb 24 20:57:01 GMT 2019
Hi Robert,
I have to say, I really like the whole idea of kpa-filter. I still have some
trouble testing it, though. Maybe some of my problems are bugs, probably I'm
just using it wrong:
1. Calling kpa-filter without arguments loops indefinitely
At least, it seems like this - I used Ctrl-C after a few minutes. I'm not sure
what the intended outcome would be. I had expected either a listing of all
files in the index.xml or just the help message.
1a: My naive try to get a file listing did result in the same infinite loop:
$ contrib/kpa-filter '($yearFrom > 1900)'
2. How do I use the "--db" option?
I tried the following command in the kphotoalbum source directory:
$ kpa-filter --db "$PWD/demo/index.xml"
Could not create file parser context for file "1": No such file or directory
at contrib/kpa-filter line 494.
3. The "--count" option does seem to do nothing in the following call:
$ kpa-filter -c -l cat:Keywords
Cheers,
Johannes
More information about the Kphotoalbum
mailing list