in reply to Task Partitioning and Parallelism Advice needed
man xz has a simple example on parallel compression:
find . -type f \! -name '*.xz' -print0 \ | xargs -0r -P4 -n16 xz -T1
With Parallel::ForkManager, one might try the following (untested):
This ought to prevent ^C interrupts from reaching the zip process.... my $pid = $pm->start and next; do { use POSIX; setsid; }; # child side ...
|
|---|