Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I'm on Xubuntu 11.10 and currently trying to use emblems in Thunar to mark which videos in a folder I've already watched.

The problem is I can't find any terminal command to do so and neither can I change the properties of multiple files in Thunar as the context menu item 'properties' is greyed out as soon as I select more than one file.

The command 'gvfs-set-attribute' which works with Nautilus doesn't do anything in Thunar. I guess Thunar stores the meta-data in some other way.

Can anyone tell me how to either set the emblems with a custom command (better solution) or change multiple file properties in Thunar?

share|improve this question

marked as duplicate by Seth, jrg Jan 22 at 1:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer 1

Thunar saves its metadata in a special file. You can find it at $HOME/.cache/Thunar/metafile.tbd.

This is a database and can be accessed using tbdtool (that is part of tdb-tools)

Use it like this:

tdbtool $HOME/.cache/Thunar/metafile.tdb

To show the contents of the database use the dump command.

dump
Dump the current database as strings.

In your question you also wanted to insert emblems. You can use insert for this:

insert KEY *DATA*
Insert a record into the current database.

share|improve this answer
1  
This answer apparently doesn't work in recent versions of Ubuntu askubuntu.com/questions/408743/… –  Braiam Jan 21 at 20:47
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.