Tagsistant icon indicating copy to clipboard operation
Tagsistant copied to clipboard

idea: changing tags by editing the <filename>.tags files

Open conrad-heimbold opened this issue 8 years ago • 5 comments
trafficstars

Going through all the directories takes quite a long time. Wouldn't it be easier if you could change the tags for one <file> by just editing the <file>.tags file with a text editor (vim, nano, emacs)?

conrad-heimbold avatar Jan 31 '17 01:01 conrad-heimbold

This could be a good way to speed up tagging compatible to filesystem semantics. The implementation should involve three calls only: open(), write() and flush(). I'll evaluate your idea. Thanks for proposing.

StrumentiResistenti avatar Jan 31 '17 09:01 StrumentiResistenti

Hi @conrad-heimbold, here is my very first implementation of your idea. The logic is fully contained in src/fuse_operations/write.c, while open.c and mknod.c got some improvements too. Please test it.

StrumentiResistenti avatar Feb 11 '17 16:02 StrumentiResistenti

Wow, that was fast! I will test it :) Thanks a lot!

conrad-heimbold avatar Feb 12 '17 15:02 conrad-heimbold

How's gone your testing?

StrumentiResistenti avatar Sep 22 '17 09:09 StrumentiResistenti

It is much better and useful this way, with .tag-files! Can I edit files and .tag-files within /archive ?

If I know the filename, I shouldn't start searching inside /store (searching and going through 4 levels through folders, until I finally have the file; takes too long in my humble opinion). I should be able to edit file content and file tags via /archive, I think.

conrad-heimbold avatar Sep 23 '17 21:09 conrad-heimbold