I observe that when I use PIGZ
version, generated tar file's md5sum
hash is different than the next one generated.
Instead of PIGZ=-n
if I use GZIP=-n
generated hashes are same. I have followed following answer for Tar produces different files each time.
$ find sourceCode -print0 | LC_ALL=C sort -z | PIGZ=-n tar \
--mode=a+rwX --owner=0 --group=0 --absolute-names --no-recursion --null -T - -zcvf file.tar.gz
$ md5sum file.tar.gz # some hash is generated
# When I apply the same operation above output for md5sum file.tar.gz is different
=> Is this a normal case? or is it possible to have same behavior for PIGZ
like GZIP
?