If you think xargs is magical, check the manual page and read up on the -P option...

Apr 14, 2021 路 3:11 PM UTC

4
4
27
Replying to @hal_pomeranz
xargs -P lets you set a max number of processes to run in parallel. I sense an opportunity for a new bash alias.
2
Replying to @hal_pomeranz
The -P stands for 'even more Powerful-er'
1
3
Replying to @hal_pomeranz
But xargs is magical. The -P option just makes it more magical
3