how to unzip a. gz zip file
#gzip-D xxx.gz
Tar command
[Root@linux ~]# tar [-cxtzjvfppn] files and directories ....
Parameters:
-C: Create a compressed file parameter directive (the meaning of Create);
-X: Unlocks a parameter directive for a compressed file.
-T: View th
Tags: Ota win and 3.1 htm str RAC OSI multiple
Original: Linux unzip multiple. gz or. tar.gz files at once
Unzip multiple compressed packagesFor extracting multiple .gz files, use this command:for gz in *.gz; do gunz
extension:# Rpm2cpio file. RPM | cpio-Div12. Install files with the. Deb extension:# Dpkg-I file. Deb13. decompress the file with the. Deb extension:# Dpkg-Deb-fsys-tarfile file. Deb | tar xvf-ar PFile. Deb data.tar.gz | tar xvzf-14.files with the extension of .zip:# Unzip
for a matching regular expression in a compressed file, using the same as the grep command, except that the object is a compressed file. If the user wants to see if there is a certain word in a compressed file, the Zgrep command is available.Bz:Bzip2-d filename.bzBUNZIP2 filename.bzBZ2:Generate Linux-2-4-2.tar using BUNZIP2 linux-2-4-2.tar.bz2Use tar xvf Linux-2
:# Rpm2cpio file. RPM | cpio-Div12. Install files with the. Deb extension:# Dpkg-I file. Deb13. decompress the file with the. Deb extension:# Dpkg-Deb-fsys-tarfile file. Deb | tar xvf-ar PFile. Deb data.tar.gz | tar xvzf-14.files with the extension of .zip:# Unzip file.zipDe
and compression ratio. -num adjusts the speed of compression with the specified number num,-1 or--fast represents the fastest compression method (low compression ratio), 9 or--best represents the slowest compression method (high compression ratio). The system default value is 6. instruction Example: Gzip *% compress each file in the current directory into a. gz file
, display the filename and compression ratio. -num adjusts the speed of compression with the specified number num,-1 or--fast represents the fastest compression method (low compression ratio), 9 or--best represents the slowest compression method (high compression ratio). The system default value is 6.instruction Example:Gzip *% compress each file in the current directory into a. gz
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,
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. La
Encountered the database can not find the cause of the problem, can only find the log, find the log when the old log is compressed, only to try to extract the A large amount of data, only in production decompression, and then to find The file name is *.tar.gz, and your blog has previously documented the decompression method: Http://www.cnblogs.com/garinzhang/archive/2013/04/23/3037147.html Use TAR–ZXVF *.tar.gz can not decompress, obviously good tar.
Previously wrote a log file (TXT file) to extract a specific log, written to the MySQL database script, because the log is too large, maintenance staff to pack the log compressed into the tar.gz format.
TXT file before a single file of more than 2G, a single TXT file packagi
The xxxx.tar.gz file uses tar with ZXVF parameters and can be unpacked at once. XXXX is the filename. For example:
$tar ZXVF xxxx.tar.gz
Gzip-d Syntax: gzip [-acdfhllnnqrtvv][-s Supplemental NOTE: gzip is a widely used compression program, the file after it compressed, The extension of ". Gz" will be appended to the name. Parameter: -A or--ASCII uses ASCI
relevant program, itself and no compression, decompression function, please note!Sex please to: http://sourceforge.net/projects/sex download!After unpacking, copy the sex to the/usr/bin directory (other directories specified by the $PATH environment variable are also available):[[email protected] tmp]# CP sex/usr/bin/linux Common File decompression methods and commandsSystem System 1. A file with an ext
to unzip the file, but not include the specified file file.-V View the compressed Files directory, but do not press.The-t test file has no damage, but does not understand the pressure.The-D directory unlocks the compressed file t
REM mkdir C:\buildMD c:\buildREM Mount the Windows share to Z DriveNET use x: \\172.16.10.240\Infa_Shared\Infa_Build\Mercury\AT_build\WindowsREM Start unzip Windows build to local machine, no need to copyX:for/f "delims=|"%%i In (' DIR ' * * "/b/o:d ') do SET newest=%%iStart winrar x%newest% c:\buildKnowledge Points:1. REM is the bat annotation2. Basic commands s
Common commands:Zip:Package: Zip something.zip Something (directory please add-r parameter)Unpacking: Unzip somethingSpecify path:-d parameterTarPackage: TAR-ZCVF Something.tar SomethingUnpacking: TAR-ZXVF Something.tarSpecify path:-C parameterCompression/decompression tools commonly used on Linux,Main explanation Zip,rar,tarBefore you talk about the compression tools on Linux, it's important to look at the commonly used compressed package
[Turn]unzip decompression Windows zip garbled processingHttp://blog.sina.com.cn/s/blog_6c9d65a101012gz0.htmlFriends from Windows sent over the zip file, I unpacked after the garbled, very depressed.Prior to a method, use the command line to change the encoding of the file in
Linux zip unzip file decompression command setZip is one of the common compression and compression commands in linux. After the file is compressed, it will generate another file ". zip "extension of the compressed file, because zip can be easily used in
Linux comes with a unzip program can unzip the file, the decompression command is: Unzip Filename.zip also provides a ZIP program compressed zip file, command is zip filename.zip files Files will be compressed to Filename.zip also look at the suffix of your
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.