David Rosenstrauch <[email protected]> ha escrit: > [darose@daroselin code]$ tar --use-compress-program "pigz -p 2" -cf > /tmp/test.tar.pgz . > tar (child): pigz -p 2: Cannot exec: No such file or directory > tar (child): Error is not recoverable: exiting now > > Anyone know how I might accomplish this?
So far the only way is to write a wrapper script calling "pigz -p 2" and pass it to tar as "--use-compress-program scriptname". Unfortunately the tar docs incorrectly stated that it is possible to supply a complete command line as an argument to that option, which is not the case. Regards, Sergey
