I’ve written a simple tool that allows one to tag files (under the hood uses xattrs) using glob patterns. Later one can search for files containing specified tags. It’s pretty bare-bones for now, just the core functionality without many useful flags.
I also left a disclaimer in the repo because extended attributes are known to be problematic to preserve when doing any sort of file transfers between different filesystems so keep that in mind. If you only use one type like ext4 then you’ll be perfectly fine as long as you remember to add alias cp=’cp –preserve=xattr’, mv for example preserves them by default.
Let me know what you think and if you perhaps end up giving it a try any suggestions as issues in the repository are welcome, thanks! 🙂