Skip to content
Snippets Groups Projects
Commit b09f45f5 authored by Ole Langbehn's avatar Ole Langbehn
Browse files

use a parallelism of # threads for forall-git

parent 84bd5814
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ NC='\033[m' ...@@ -9,7 +9,7 @@ NC='\033[m'
if which parallel >/dev/null; then if which parallel >/dev/null; then
find -L . -maxdepth 3 -name .git -type d | parallel -j 10 "cd {//}; echo -ne '$COLOR'; pwd; echo -ne '$NC'; $@" find -L . -maxdepth 3 -name .git -type d | parallel -j $(nproc --all) "cd {//}; echo -ne '$COLOR'; pwd; echo -ne '$NC'; $@"
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment