Answers for "unzip tar gz file into a folder"

8

gzip folder with tar

# gzip my-folder-name
#
# flags:
# 	z = filter the archive through gzip
# 	c = create a new archive
# 	v = verbosely list files processed
# 	f = use archive file or device ARCHIVE
#
# Example:
tar -zcvf my-filename.tar.gz my-folder-name
Posted by: Guest on May-20-2020
0

how to unzip tar.gz file

tar -xvf archive.tar.gz
or
tar -xf archive.tar.gz -C /home/linuxize/files
Posted by: Guest on November-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language