nspragg/filehound

Exclude directories by name

dvdciri opened this issue · 1 comments

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.

You can use:
https://nspragg.github.io/filehound/FileHound.html#discard

Discard supports multiple patterns (var args).

Hope that helps.