I wrote an article for Baeldung on how to use xz for compressing and decompressing files from the Linux command line. It included using xz with tar and speeding up archiving with multithreading.
I wrote an article for Baeldung on how to use gzip and gunzip for compressing and uncompressing files from the Linux command line. It included using gzip with tar and speeding up archiving with pigz, a parallel implementation of gzip.