IT notes


To compress using gzip format but using all your available cores: tar --use-compress-program=pigz -cf archive.tgz /path/to/source Or if you want to pipe it: tar -cf - source | pigz > archive.tgz To decompress use tar -xvf archive.tgz as usual. The output of pigz is compatible with gzip


Gzip all files within a directory: gzip -r ./ or find . -type f ! -name '*.gz' -exec gzip "{}" \;