Filter feh with image keywords or tags

Is there a way to add keywords or tags to an image file then use grep (or any other tool) to list/search them by tag?

I tried setting the tags with KDE file properties and then using grep, efixtool and exiv2 but the tags seem not to be there. What would be the correct way to do this? Where does KDE store the metadata edited with the file properties pop-up window? I cannot see it in EXIF

exists setfattr and getfattr
dolphin use baloo for tags and it use xattrs

for read dolphin tags: getfattr -n user.xdg.tags --only-values myfilename
dolphin keys are user.baloo.rating , user.xdg.comment , user.xdg.tags

2 Likes

that’s great. Thanks for the tip!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.