- 7zip Introduction
- Format support
- Compression decompression
- Only unzip supported
- Installation
- Use
- Packaged
- Extract
- List information lists for a file
- Check the integrity of the package
- Update a compressed package
- Delete the files in the package
7zip Introduction
7-zip is an open source software. Most of the source code is published under the GNU LGPL license agreement. The AES code is issued based on the BSD license. The UnRAR code is based on two licenses: the GNU LGPL and the UnRAR restricted license. Chinese Civil Service Network
Format supports compression/decompression
7z, XZ, ZIP, TAR, BZIP2, GZIP and WIM
Only unzip supported
ARJ, CAB, CHM, CPIO, Cramfs, DEB, DMG, FAT, HFS, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, RAR, RPM, SquashFS, UDF, VHD, WIM, XAR, Z
Installing Debian/ubuntu
sudo apt-get install p7zipsudo#完整版
ArchLinux
-S
Use
7z [Adeltux] [-] [SWITCH] ...
Packaged
[[email protected] Downloads]$ ls testbag.hpp hashtable.hpp minpq.hpp rbtree.hpp uf.hpphashchain.hpp maxpq.hpp queue.hpp stack.hpp[[email protected] Downloads]$ 7z a test.7z test...Everything is Ok[[email protected] Downloads]$
Extract
All file types that support decompression are the same
[poplar@archDownloads]$ 7z x test.7z #解压到当前目录[poplar@archDownloads]$ 7z e test.7#加压到当前的tmp
List information lists for a file
[poplar@archDownloads]$ 7z l test.7z
Check the integrity of the package
[poplar@archDownloads]$ 7z t test.7z test
Update a compressed package
[poplar@archDownloads]$ 7z u test.7z test
Delete the files in the package
Delete the uf.hpp file in the package
[poplar@archDownloads]$ 7z d test.7z uf.hpp -r
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Common commands for using 7zip to decompress various files