Re:TMSU: Command-line tool for applying tags and viewing vir...
by ecmm on Thursday January 23, 2025 @12:26PM
(#42805942)
I also inadvertently implemented something similar as a zsh script [1] and as a simple rust CLI [2] a couple years ago.
Re:TMSU: Command-line tool for applying tags and viewing vir...
by NotPractical on Thursday January 23, 2025 @03:03PM
(#42807500)
xattrs are great, and would the obvious solution for tags/metadata on Linux too, if the syscall API didn't delete them at every opportunity; programs must be explicitly told not to do that.
https://wiki.archlinux.org/title/Extended_attributes
That being said, it'd be cool to see a port of that CLI to Linux using user.xdg.tags. You can avoid deleting them if you're careful.
Re:TMSU: Command-line tool for applying tags and viewing vir...
by thebeardisred on Thursday January 23, 2025 @02:50PM
(#42807395)
I was wondering why this wasn't using xattrs.
Re:TMSU: Command-line tool for applying tags and viewing vir...
by Imustaskforhelp on Thursday January 23, 2025 @12:32PM
(#42805988)
yea when I was looking for linux version I was finding tag again and again lol
- "Designing better file organization around tags not hierarchies" [1]
- `tag` - a macOS version of `tmsu` that uses the system tags (xattr-based if I recall) [2]
[1] https://www.nayuki.io/page/designing-better-file-organizatio...
[2] https://github.com/jdberry/tag