GNU/Linux ◆ xterm ◆ bash 1590 views

GNU Parallel - 36 jobs, 12 cpu

Fun times overloading the cpu’s with GNU Parallel

System info

Operating System Type: GNU/Linux

OS Name: CentOS Linux 7 (Core)

OS Architechture: x86_64

Kernel Release: 4.7.0-1.el7.elrepo.x86_64

Command:

find ./ -name '*.jpg' | parallel -j36 "mozjpeg -outfile {.}.tmp {} && rm {} && mv {.}.tmp {}"