[Digikam-devel] [Bug 217735] Import/export tag hierarchy to/from digikam
julien.t43+kde at gmail.com
julien.t43+kde at gmail.com
Sun Jul 8 00:15:30 BST 2012
https://bugs.kde.org/show_bug.cgi?id=217735
--- Comment #18 from julien.t43+kde at gmail.com ---
ok. for used tags:
$ exiftool -T -tagslist -keywords ~/Images/20120607/*JPG |grep -v '^-$'
got them.
One comment, if tags is at root (without parent), tagslist is empty (at least
in my case). else tagslist keeps the parent hierarchy of the tag unlike
keywords.
Still you have to do it on whole collection. can't harmonize tags list
available between multiple (new) digikam installation or with other softwares.
Advanced alternative would be sql query on digikam.db
sqlite> SELECT * FROM Tags LIMIT 10;
but I don't understand the difference between Tags and TagsTree as id/pid is
present in both.
A usable output can be done with
sqlite> SELECT t2.name as parent,t1.name as name FROM Tags t1,Tags t2 WHERE
t1.pid!=0 AND t2.id==t1.pid LIMIT 10;
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list