after importing a whole bunch of files which are poorly tagged or after I have accidently mistyped a tag while adding it I end up with a lot of tags that simply aren't necessary and deleting them one by one is slow and painful. I would like a tool that could remove any tag that has no images attached to it. Reproducible: Always
Looks like a good task for command line metadata editors
Agree, it's a low level maintenance feature... Look to ExifTool or Exiv2 command line tools to manage metadata in batch... Gilles Caulier
These command line tools will work with the digikam database files?
I see you are referring to tags inside digikam's db in this case. Still seems to be a very special case. Something like this should be solved by scripting, unfortunately our scripting interface is underdeveloped.
an alternate solution to the problem might be a mechanism for merging tags.