I have a script that processes each file in a directory. Each single execution of djvu2pdf takes a lot of time and uses only one of my four CPU cores:
for i in *.djvu; do djvu2pdf "$i"; done
To speed up the overall processing I want to run four djvu2pdf processes in parallel.
How do I have to change my script that I get four pipelines instead of the presently one pipeline?