In my case I wanted to extract data from the aports git repository.
Unfortunatly I only found a way which required 1 git call per directory
so in the hope to speed up the process I tried 'forx -p':
elglob -0 paths main/* forx -E -p i { ${paths} } git -P log -1 --format=%at\
${i} -- ${i}
Which made my system unresponsive for a while.
... yeah, git is a resource-intensive process and spawning 1500 of
them in parallel is going to get you in trouble. :D
My change does work like '-j$maxpar' (not truncation).
Oh ? I'll have to study it to see exactly how it works, then, and
maybe apply it. Thanks!
On the technical side it would be nice to add the same to forstdin.
Yes, if I apply this I'll make the equivalent change to forstdin.
--
Laurent