Skip to content
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

Ignore sub folders finding when parent was excluded. #2

Closed
taopp opened this issue Feb 14, 2015 · 2 comments
Closed

Ignore sub folders finding when parent was excluded. #2

taopp opened this issue Feb 14, 2015 · 2 comments

Comments

@taopp
Copy link
Contributor

taopp commented Feb 14, 2015

I think this should be the default behaving of exclud and test options.
If there have a lot of sub folders, say thousands or even millions, This can largely improve performance.

@alinex
Copy link
Owner

alinex commented Feb 16, 2015

For now the new lazy options works great (pull #3). But for the future i have to rethink the options structure to allow more powerful selections like:

  • logical operators: and, or ,not
  • different search patterns for traversing and end matches

@alinex alinex closed this as completed Feb 16, 2015
@alinex
Copy link
Owner

alinex commented Jul 20, 2016

With version 2.0.4 the lazy option is no longer needed because find will do this on its own. It now detects then a complete directory with all it's files will fail based on the exclude pattern and won't go into this then.

That also makes file traversing faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants