Original URL: http://blog.csdn.net/zqlovlg/article/details/8033456
Installation method:
sudo apt-get install p7zip-full
Unzip the file:
7z x manager.7z-r-o/home/xx
The explanations are as follows:
x represents the extracted files, and is extracted according to the original directory (there is also a parameter e is the decompression file, but it will all the files are extracted to the root, not their original folder) manager.7z is a compressed file, here you have to change their own. If you are not in the current directory with the full directory
-R means that all subfolders are recursively owned
-O is the specified directory to extract to, here you have to note-O after the direct access directory without spaces
Compressed files:
7z A-t7z-r manager.7z/home/manager/*
The explanations are as follows:
A for adding files/folders to a compressed package
-T is the specified compression type generally we set the 7z
-R means that all subfolders are recursive, manager.7z is the compressed package name after compression,/home/manager/* is the directory to compress, * is the file that represents all files in that directory.
[Go]ubuntu Linux installation. 7z Unzip and compress files