Answers for "uncompress tgz file linux"

4

how to extract tgz file in linux

tar zxvf file_name.tgz

where,
-z : Uncompress the resulting archive with gzip command
-x : Extract to disk from the archive
-v : Produce verbose output i.e. show progress and file names while extracting files
-f backup.tgz : Read the archive from the specified file called backup.tgz
Posted by: Guest on October-13-2020
0

compress to tgz linux

tar -cvzf <name of tarball>.tgz /path/to/source/folder
Posted by: Guest on January-06-2021

Browse Popular Code Answers by Language