[Thunar-dev] Recent document support

Biju Chacko botsie at xfce.org
Mon Jul 31 16:26:14 CEST 2006


On Mon, 31 Jul 2006 17:55:30 +0530, Benedikt Meurer  
<benedikt.meurer at unix-ag.uni-siegen.de> wrote:

> Storing the tags in extended attributes would solve this issue with
> modern file systems (note that not all file systems offer fast extattr
> access), but it does not allow to query the files by tag.

Hmmm ... you know, you *could* implement tag-query as a bunch of sym-links:

$HOME/.tags/
	tag1/
		symlink to tagged-file
		symlink to tagged-file2
	tag2/
		symlink ...

You'd use the symlink just to find out the target file path and then open  
the file using it's real path so that recently used files lists would  
still be correct.

However, the proper solution would be to design a data structure that was  
specific to this requirement, rather than a general purpose data store  
like an rdbms.

-- b


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the Thunar-dev mailing list