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

Each file is greped twice #5

Open
wrr opened this issue Oct 14, 2016 · 0 comments
Open

Each file is greped twice #5

wrr opened this issue Oct 14, 2016 · 0 comments

Comments

@wrr
Copy link

wrr commented Oct 14, 2016

find $2 -maxdepth 1 -type d returns cache root directory and its subdirectories. The parallel grep process that is invoked with the root dir processes the whole cache, so the parallelization benefits are lost.

This can be fixed with -mindepth 1

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

1 participant