I've been spending the better part of an afternoon trying to figure this one out. 🤔 I have a directory that contains several project directories, and within each project directory there is a
node_modules directory. I'd like to delete all files hidden included within the
node_modules directory but keep the
node_modules directory, ie. have an empy
I've constructed a couple quasi solutions, but none seem to preserve / keep the
node_modules directory. I'm using GNU
grep on macOS 10.12.x via homebrew with fish shell.