Alibabacloud.com offers a wide variety of articles about how to unpack tar gz windows, easily find your how to unpack tar gz windows information here online.
and *.tgz with TAR–XZF decompression4, *.bz2 with bzip2-d or with BUNZIP2 decompression5, *.tar.bz2 with TAR–XJF decompression6, *. Z Extract with Uncompress7, *.tar. Z Extract with Tar–xzf8, *.rar with Unrar e decompression9, *.zip with unzip decompressionNzip DecompressionTar: (pack, not unzip)
tar, which is the meaning of the undo. Tar provides a special feature to facilitate the user's ability to compress or decompress a file while unpacking the package. This is what tar can call other compression programs while packaging or unpacking, such as calling Gzip, bzip2, and so on. 1) Tar call gzip gzip is a co
Summarizes the compression and decompression methods of compressed packets in various formats under Linux. But some of the methods I did not use, but also not all, I hope you can help me to add, I will revise the perfect at any time, thank you!. Tar unpack: Tar xvf Filename.tar package: Tar cvf filename.tar DirName (No
: detailed information of each compressed file in Example 1 is displayed without decompression.
$ Gzip-L *
Compressed uncompressed ratio uncompressed_name28 4-50.0% 12328 4-50.0% aaa28 4-50.0% ABC84 12-416.7% (totals)
$ Ls
123. GZ aaa.gz abc.gz
Example 4: compress a Tartar file, for example, usr.tar. the extension name of the compressed file is .tar.gz.
$ Gzip usr.tar
$ Ls
Usr.tar.gz
---------------------------------------------
Unzip command
How can
Roughly summed up the Linux under the various formats of compression package compression, decompression methods. But some of the methods I did not use, also not all, I hope you help me to add, I will be ready to modify, thank you.
. tar
Unpack: Tar xvf Filename.tar
Packing: Tar cvf filename.tar dirname
(Note:
the most basic usage of tar. To help you compress or decompress the packageFile, tar provides a special feature. This means that tar can call other pressures while packaging or unpacking.Program shrinking, such as calling gzip and Bzip2.
1) tar calls Gzip
Gzipis a program developed by gnuorganization. The file ending
files in the all.tar package.-X is used to unlock the file.
The above is the most basic usage of tar. To help you compress or decompress the packageFile, tar provides a special feature. This means that tar can call other pressures while packaging or unpacking.Program shrinking, such as calling gzip and Bzip2.
1) tar c
directory into a. gz file.
$ cd/home
$ gzip *
$ ls
123.gz aaa.gz abc.gz
Example 2: Unzip each compressed file in Example 1 and list detailed information.
$ GZIP-DV *
123.gz: -50.0%--Replaced with 123Aaa.gz: -50.0%--Replaced with AAAAbc.gz: -50.0%--Replaced with ABC
$ ls
123 AAA ABC
Example 3: Details the information of each compressed file in Example 1 and does
detailed information.$ GZIP-DV * 123.gz: -50.0%--replaced with 123 aaa.gz: -50.0%--Replaced with AAA abc.gz: -50.0%--Replaced with ABC$ ls123 AAA ABCExample 3: Detailed Example 1 shows the information of each compressed file, and does not understand the pressure.$ gzip-l *Compressed uncompressed ratio uncompressed_name4 -50.0% 1234 -50.0% AAA4 -50.0% ABC About -416.7% (totals)$ ls123.gz aaa.gz abc.gzExa
program, but it seems that there are not as many people using compress as gzip and Bzip2 .. The file ending with Z is the result of Bzip2 compression. The decompress program relative to compress is uncompress. Use the-Z parameter in tar to call compress. The following is an example:
# Tar-CZF all.tar. z *. jpg
Forbidden. Z
# Tar-xzf all.tar. Z
This command is us
Linux under the Tar decompression GZ decompression bz2 and so on various decompression file use method
. tar
Unpack: Tar xvf Filename.tar
Packing: Tar cvf filename.tar dirname
(Note: Tar
Linux under the compression, decompression command a variety of, unlike in Windows next WinRAR fight all over the world without rival, exclusively. rar. zip format.For example, the commonly used tar tar.gz tar.bz2 under Linux. Z and so on. The CPU time and compression ratios of each compression and decompression method vary greatly. Here I would like to enumerate, I hope the inappropriate, please advise. --
and compressiontar -zcvf 123.tar.gz 123Package directory 123 and compress to GZ format tar -zxvf 123.tar.gzUnpacking packages in GZ format tar -jcvf 123.bz2 123Package and Compress folders into bz2 format tar -jxvf 123.bz2Unpack tar
files tar [option parameters] destination file is packaged fileTar-cv-f Test.tar Testa Testb 2. Unpack the package tar in 1 [option parameters] the unpacked packageTar-xv-f Test.tar #解压到当前目录tar-xv-f test.tar-c/tmp/mydir# unpacking test.dir into/tmp/mydir directory3. View the file name in the
Today, I encountered a problem in my project. In this project, I need to develop a PC tool (Windows Required). In this case, I need to package some files into a gz file, the gz file is a compressed file in the UNIX system. Later, I found the online resources and only decompressed the C ++ source code. I didn't tell you how to compress the file in the
In the project, you have encountered a problem. In the project, you need to develop a PC tool (Windows Required). In this case, you need to package some files into a gz file, the gz file is a compressed file in the UNIX system. Later, I found the online resources and only decompressed the C ++ source code. I didn't tell you how to compress the file in the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.