Answers for "ubuntu 20.04 extract large .tar.gz files"

21

bash command for unzipping tar.gz files

# Basic syntax:
tar -zxvf file.tar.gz

# Where:
#	- x tells tar to extract the files
#	- v tells the command to list all of the files in the archive
#	- z tells the tar command to uncompress the file (gzip)
#	- f tells tar that you are going to give it a file name to work with
Posted by: Guest on October-04-2020
0

extract tar.gz Ubuntu terminal

cd ~/Downloads/archive.tar.gz #first navigate to file location
tar -xzvf archive.tar.gz -C /path/to/new/directory/ 
#-C flag will change the extraction to a new directory.
#remove -C if you want to extract it to current location.
Posted by: Guest on June-14-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language