-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exclude path option #86
Comments
Sorry for late response. It is unlikely that I will implement this feature for the following reasons:
So the right way to exclude directory is to combine with external programs. For example: pdu $(find . -maxdepth 1 -mindepth 1 -name '*' -a -not -name excluded-dir) pdu $(fd -d 1 -E excluded-dir) |
I doubt adding an if condition/virtual call to check an exclude filter will meaningfully impact performance. |
It would be great to be able to exclude some paths, for example:
pdu $HOME -E subdir1 -E subdir2
or maybe even more fined grain like some specific extensions or filenames (but path is my main use case).For completeness an include could also be useful when it's easier to filter by inclusion than exclusion.
The text was updated successfully, but these errors were encountered: