Skip to main content

All Questions

5 votes
2 answers
6k views

Efficient way to use all cores in bash or zsh script

If I want to process large number of files with command "do_something" which only can use one core, what's the best way to use all available cores assuming each file can be processed independently? ...
Lissanro Rayen's user avatar