Bug 301488 - tool to remove empty image labels (tags)
Summary: tool to remove empty image labels (tags)
Status: RESOLVED INTENTIONAL
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Keywords (show other bugs)
Version: 2.6.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-09 02:59 UTC by Danni Coy
Modified: 2022-01-22 10:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danni Coy 2012-06-09 02:59:38 UTC
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
Comment 1 Marcel Wiesweg 2012-06-09 13:08:03 UTC
Looks like a good task for command line metadata editors
Comment 2 caulier.gilles 2012-06-09 13:31:17 UTC
Agree, it's a low level maintenance feature... 

Look to ExifTool or Exiv2 command line tools to manage metadata in batch...

Gilles Caulier
Comment 3 Danni Coy 2012-06-09 14:51:32 UTC
These command line tools will work with the digikam database files?
Comment 4 Marcel Wiesweg 2012-06-10 16:51:34 UTC
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.
Comment 5 Danni Coy 2012-06-11 01:40:26 UTC
an alternate solution to the problem might be a mechanism for merging tags.