I already use --git-ignore in my alias, but sometimes there isn't a .gitignore file. So i would like a way to ignore directories which contain CACHEDIR.TAG.
Solution
add an argument, perhaps named --cachedir-ignore, which causes eza to ignore directories which meet the Cache Directory Tagging Specification. I'll poke around in eza today and might do it.
Stretch Goal
add an argument, or extend --ignore-glob to support hiding directories which contain a specific file (e.g., a tool which doesn't add CACHEDIR.TAG, but has some other uniquely-named file in it's cache directory)
Problem
I like using
eza --tree
, but I'm extremely mildly inconvenienced by things like cargotarget
directories:I already use
--git-ignore
in my alias, but sometimes there isn't a.gitignore
file. So i would like a way to ignore directories which containCACHEDIR.TAG
.Solution
add an argument, perhaps named
--cachedir-ignore
, which causes eza to ignore directories which meet the Cache Directory Tagging Specification. I'll poke around in eza today and might do it.Stretch Goal
add an argument, or extend
--ignore-glob
to support hiding directories which contain a specific file (e.g., a tool which doesn't add CACHEDIR.TAG, but has some other uniquely-named file in it's cache directory)