To compress a folder of files into a single tar-zip file, use the command:
tar -czvf archive.tgz files/
To extract a tar-zip file into the current directory, use the command:
tar -xzvf archive.tgz
To compress a folder of files into a single tar-zip file, use the command:
tar -czvf archive.tgz files/
To extract a tar-zip file into the current directory, use the command:
tar -xzvf archive.tgz