Tagsistant
Tagsistant copied to clipboard
idea: changing tags by editing the <filename>.tags files
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)?
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.
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.
Wow, that was fast! I will test it :) Thanks a lot!
How's gone your testing?
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.