Closed blueforesticarus closed 6 days ago
I basically agree with sharkdp that this should be left to an external tool. There's a reason why tooling doesn't usually support attributes like this: it's expensive. ripgrep does a lot of its filtering without doing any stat calls on each file.
The main way to tell ripgrep to skip things is with a .gitignore
, .ignore
or .rgignore
file.
Most filesystems support extended attributes. Tooling around this feature is lacking, despite great potential for organizing files.
Two examples:
See: https://github.com/sharkdp/fd/issues/830#issuecomment-2492367688
Freedesktop recommends
user.xdg.robots.index
https://www.freedesktop.org/wiki/CommonExtendedAttributes/