Go Ubuntu Linux installation. 7z Extracting and compressing files

Source: Internet
Author: User

[Go]ubuntu Linux installation. 7z Unzip and compress files

http://blog.csdn.net/zqlovlg/article/details/8033456

Installation method:

sudo apt-get install p7zip

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 Extracting and compressing files

Related Article

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.