Compress a folder into .tar.gz
tar -czvf archive_name.tar.gz folder_name

Extract a folder from .tar.gz
tar -xzvf archive_name.tar.gz

Multithreaded compression
tar -I pigz -cvf archive.tar.gz paths_to_archive

Multithreaded decompression
tar -I pigz -xvf archive.tar.gz

