In all these examples we gunzip the outputting tar file to reduce the file size
tar -zcvf file-name.tar.gz source-folder
tar -pcvzf file-name.tar.gz source-folder
tar zxfv file-name.tar.gz