Linux 7z Command Compilation installation

Source: Internet
Author: User
Tags bz2

7zip is an open source compression software 7z format is the highest compression rate format

Server Backup Data Several G if the tar compression download time too long 7zip compressed out of small size

First install me, this is CentOS.

You can yum–y install p7zip directly

There's no source address.

wget http://nchc.dl.sourceforge.net/sourceforge/p7zip/p7zip_4.65_src_all.tar.bz2
TAR-XJVF p7zip_4.65_src_all.tar.bz2
CD P7zip_4.65
Make
Make install

And say the command is the simplest and most practical.

7za a/home/web.7z/home/wwwroot Compress/home/wwwroot pack to web.7z in home directory

Unzip the words

7za e Src_file

How to use the command line:

command is the operation instruction, as follows:
A add to the compressed file
B benchmark test, test 7z current performance
D Remove from compressed file
E is uncompressed from the compressed file, but does not contain the directory structure (that is, all levels of files are extracted into a directory)
L List contents of compressed files
T test compressed files
U update files to compressed files
X extract from compressed file, including directory structure

Linux 7z Command Compilation installation

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.