Exclude directories by name
dvdciri opened this issue · 1 comments
dvdciri commented
It would be nice to be able to exclude some folder during the search. Something like:
.exclude('aFolder', 'anotherFolder')
. So when a folder with that name is found, it gets ignored.
nspragg commented
You can use:
https://nspragg.github.io/filehound/FileHound.html#discard
Discard supports multiple patterns (var args).
Hope that helps.