I would like to list all directories named bin and obj that are anywhere in the current directory tree but without descending into the node_modules
directory.
I've tried ls . -Recurse -Include bin,obj -Exclude node_modules
but that doesn't work and still includes things inside node_modules
.
What's the proper way to do this?