Why not just use GNU parallel?
`parallel gzip ::: file1 file2`
I wish there was a standard for this type of stuff. So that an app will check for existing child spawns and act accordingly (IPC).
`parallel gzip ::: file1 file2`
I wish there was a standard for this type of stuff. So that an app will check for existing child spawns and act accordingly (IPC).
parallel --pipepart -a bigfile -k gzip > out.gz
The last is faster.