i hate when bash scripts that are supposed to do the same thing on every file in the folder don't do it at once so i have to jerryrig them into doing it
@jeder that doesn't work reliably, though, because the different processes might have different runtime and/or the scheduler of the OS might decide to schedule the processes in a way that leads to the last process to be started not to be the last process to finish.
The & will work for many things but if you have to make sure all of the processes have finished before you start the next set of tasks, you have to have a way to wait for them all. Idk how to do that in Bash or, for portability, in POSIX shell.