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 extension of. A:#tar XV File.a2. Files with a. z
Compression ratios are different for each compression algorithmGZIP: Compressed files are. gz format, so is the suffixGzip/path/to/somefile: The original file is deleted when the compression is complete, the compressed file is named after the source file, and the suffix is added automaticallyGunzip: Unzip files in. gz format and delete original files after decomp
The "preface" is explained in the blog post:This article will introduce through the personal tone of the Linux platform related compression and decompression command related knowledge, in the current time point "May 23, 2017 " under the grasp of the technical level is limited, there may be a lot of knowledge understanding is not deep enough or comprehensive, I hope you point out the problem of common exchange, In the follow-up work and study, if found that the content of this article and the act
tar.gz/xz/bz2 How to DecompressTar usage: Tar was originally used to package on tape drives, and now tar can package any file, package multiple files and directories into a single file, and also support xz/bzip2/gzip compression, separate tar does not have the function of compression, in the packaging and also want to compress, must be used with the compression p
-program PROGUse PROG to compress or decompress the archive (the PROG must accept the-d parameter)
-- Block-compressArchive records by block for ease of disk storage
-[0-7] [lmh]Specify the drive and density [High and Low]
--------------------------
Package: tar-cf soft.tar soft
Unpack: tar-xf soft.tar soft
Compressed directory
Compressed: tar czvf usr.tar.gz/hom
This article comes from "Stones" blog, http://pengyl.blog.51cto.com/5591604/1191197
Packaging, a combination of many files and directories is saved as a whole package file for easy delivery or portability. The compression operation can further reduce the amount of disk space used by the packaged package files. The most common packaging command in Linux is tar. The most commonly used compression commands are two: gzip, bzip2, compressed files made wit
For details about tar, gzip, and unzip commands, refer to tar to create files and directories. Using tar, you can create a file (backup file) for a specific file, change the file in the file, or add a new file to the file. Tar is used to create detailed usage of
Reprinted from: http://qiupeng.itpub.net/post/8489/55305
Tar command
Tar can create files and directories. Using tar, you can create a file (backup file) for a specific file, change the file in the file, or add a new file to the file. Tar was originally used to create files on tape. Now, you can create files, such as f
Tar command
Tar can create files and directories. Using tar, you can create a file (backup file) for a specific file, change the file in the file, or add a new file to the file. Tar was originally used to create files on tape. Now, you can create files, such as floppy disks, on any device. Using the
preserving source filesbzip2-d compressed Files: Extracting files,-K preserving compressed filesBUNZIP2 compressed file: Unzip,-K reserved Compressed filebecause gzip, bzip2 command cannot really compress the directory, so it is inconvenient, so Linux provides a solution: You can use the TAR command to package the directory into a single package called. Tar, and
For details about tar, gzip, and unzip commands, refer to tar to create files and directories. Using tar, you can create a file (backup file) for a specific file, change the file in the file, or add a new file to the file. Tar was originally used to create files on tape. Now
tar.bz2TAR–XZVF file.tar.z//Unzip tar. ZUnrar e file.rar//decompression rarUnzip File.zip//Unzip zipSummarize1, *.tar with TAR–XVF decompression2, *.gz with gzip-d or gunzip decompression3, *.tar.gz and *.tgz with
original tar package All.tar in the logo.gif file,-U is to indicate the meaning of the update file.# TAR-TF All.tarThis command is to list all the files in the All.tar package,-T is to list the meaning of the file# TAR-XF All.tarThis command is to solve all the files in the All.tar package,-X is the meaningCompressionTAR–CVF Jpg.tar *.jpg//package all JPG files
meaning of the update file.# TAR-TF All.tarThis command is to list all the files in the All.tar package,-T is to list the meaning of the file# TAR-XF All.tarThis command is to solve all the files in the All.tar package,-X is the meaningCompressionTAR–CVF Jpg.tar *.jpg//package all JPG files in the directory into tar.jpgTAR–CZF jpg.tar.gz *.jpg//pack all JPG files in the directory into Jpg.tar and compress
parameters are as follows:-B Set Number of blocks-c switch to the specified directory-f Specifies the compressed file--HELP Display Help information--version displaying version informationFor the tar command, the usual parameters are:Necessary parameters:Compression class:-Z gzip compression-j bzip2 Compression-Z Compass CompressionDecompression class:-X Extract the file from the compressed file (corresponding to the-C parameter)- C Create a new comp
Compression Decompression Command Introduction. GZ compression to gzip files. bz2 compression to bzip2 file. tar package files, merging multiple files into one directory. tar.gz first into a tar package, then compressed to gzip file. tar.bz2 first into a tar package, then compressed into a bzip2 file.
Compression and decompression1 gzipGzip test.py #压缩后为test. py.gzgzip-d test.py.gz #解压文件2 bzip2Bzip2 test.py #压缩后为test. py.bz2bzip2-d test.py.gz #解压文件3 tarOptions content-C Create a packaged file-R append file to packaged document-T list packaged content-f Specifies the package name-j compressed by bzip2 format after packaging-Z Compression after packaging with gzip format-X Unpacking file-C Specify the decompression path--delete removing a file from a packaged file--remove-files Delete source fi
Http://www.tektea.com/archives/2163.html.In one of the Linux OS backups: Online backup of Linux operating system data using LVM snapshots, we introduce the method of using LVM snapshot to realize the online backup of operational system, and LVM snapshot can realize the backup of the online operating system data, which means that Complete backup of the operating s
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.