Today in Aix with TAR-CVF backup, make a tar package, occupy the hard disk space is too large, no compression ratio,
Try to use the TAR-ZCVF Linux system can use the-z command (z with gzip to compress/extract the file, plus this option to compress
This article describes the packaged compression programs under Linux tar, gzip, gunzip, bzip2, bunzip2, compress, uncompress, zip, unzip, RAR, Unrar programs, and how to use them for. Tar,. GZ,. Tar.gz,. Tgz,. bz2,. tar.bz2,. Z,. Tar. Z,. zip,. rar,
This paper mainly from the following several convenient to explain file archiving and compression, while comparing the compression ratios and characteristics of several different compression methods.
File Archive command tar,tar.gz source
Compressing file meaning saves network transmission bandwidth and reduces disk usage. But a certain CPU will be used.1. GzipCompression directory is not supported, gzip directly with the file name, when compressed in the current directory, the
Packaging Example: package files in the /usr/local/src/zlib-1.2.5 directory into zlib-1.2.5.tar.gzCD/USR/LOCAL/SRCTAR-CZVF./zlib-1.2.5.tar.gz/zlib-1.2.5/*# compressed into the development directory (for example:/root/2/) tar-czvf/root/2/
The tar command in Linux
The TAR (tape archive) command is a command that is often used in Linux systems to deposit files into an archive file.
The common file extensions include:. tar.gz and. tar.bz2, respectively, to express the further
I. Mounting storage mediaThe Linux file system incorporates all the disks into a single virtual directory, which needs to be placed in the virtual directory before the new storage media is used, which is called mount (mounting) 1.1 Mount CommandThe
Common Linux Compressed file extensions*. Z Compress compressed files (has been replaced by gzip)*.gz gzip Program Compressed files*.BZ2 BZIP2 Program Compressed files (better than gzip, but only for one file to compress)*.tar Tar program packaged
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.