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