Re:Johnny Decimal: A System to Organize Projects
by notfed on Thursday September 14, 2023 @11:32AM
(#37510331)
Got me wondering how it tracks file moves. From the FAQ:
> TMSU not automatically detect file moves and renames
I dunno if we can call it a tagged filesystem with this limitation. (Why not store tags, or at least a GUID, in file metadata?)
Re:Johnny Decimal: A System to Organize Projects
by istjohn on Thursday September 14, 2023 @01:29PM
(#37512032)
It does store file hashes. It has a repair command that will use file hashes to find moved files. I don't know how well it works.
Re:Johnny Decimal: A System to Organize Projects
by dotancohen on Thursday September 14, 2023 @02:32PM
(#37512867)
This seems a serious limitation. Bash is my file manager - ls and cd. I would not give that up for any tool no matter how convenient.
But presumably there is some API or ABI to monitor, or some signal emitted, when files are moved, added, updated, or deleted. However iwaitnotify works, could that be incorporated (even theoretically) into TMSU?
Re:Johnny Decimal: A System to Organize Projects
by Cyphase on Thursday September 14, 2023 @05:00PM
(#37514772)
https://github.com/oniony/TMSU/wiki/FAQ#why-does-tmsu-not-au...
There are a couple very barebones wrappers around mv and rm, though they could be better (pass through arguments, etc.).
https://github.com/oniony/TMSU/wiki/Tricks-and-Tips#filesyst...
https://tmsu.org/
> TMSU is a tool for tagging your files. It provides a simple command-line tool for applying tags and a virtual filesystem so that you can get a tag-based view of your files from within any other program.
> TMSU does not alter your files in any way: they remain unchanged on disk, or on the network, wherever you put them. TMSU maintains its own database and you simply gain an additional view, which you can mount, based upon the tags you set up. The only commitment required is your time and there's absolutely no lock-in.