Linux unzip rar file

Source: Internet
Author: User
Tags unzip rar file rar unzip rar

Use Rarlinux to extract RAR format files.

: http://www.rarlab.com/download.htm

Can not open or the network is not good to be able to my resources in the download, free:

http://download.csdn.net/detail/alex_my/6731197

1 decompression

TAR-ZXVF rarlinux-3.6.0.tar.gz

2 Extract a RAR folder, enter, need root permission

CD rar

Make

Make install

How to use

============================================

Viewing documents in a compressed package
$rar l Xxx.rar or $rar v Xxx.rar
View documents in a compressed package (see only documents)
$rar lb Xxx.rar or $rar vb Xxx.rar
View documents in a compressed package (detailed information)
$rar LT Xxx.rar or $rar VT Xxx.rar

============================================
Extract the contents of the compressed package to the current directory
$rar e Xxx.rar
Extract the contents of the compressed package to the specified directory, such as/home/yxd/tmp/
$rar e xxx.rar/home/yxd/tmp/
Press the contents of the compressed package into the specified directory, such as/home/yxd/tmp/below, containing the path in the compressed package
$rar x xxx.rar/home/yxd/tmp/

============================================
Compresses a specified document, such as AAA, to the default compression rate
$rar a Xxx.rar AAA
Compresses a specified document, such as AAA, at the maximum compression rate
$rar A-M5 Xxx.rar AAA
Compresses any document in a specified directory, such as any document under the DDD directory
$rar a Xxx.rar ddd/
Compresses any document in a specified directory, such as any document and any subdirectories under the DDD directory
$rar a-r Xxx.rar ddd/
Compresses any document in the specified directory, such as any document and any subdirectories under the DDD directory, but does not contain an empty directory
$rar a-r-ed Xxx.rar ddd/
Compresses any document in a specified directory, such as a DDD directory, and also compresses the directory, including subdirectories
$rar a Xxx.rar ddd

============================================
Sub-volume compresses a specified document, such as AAA, with a volume size of 5000B
$rar a-v5 Xxx.rar AAA
Sub-volume compresses a specified document, such as AAA, with a volume size of 5 K (5*1024b)
$rar a-v5k Xxx.rar AAA
Sub-volume compresses a specified document, such as AAA, with a volume size of 5 B
$rar a-v5b Xxx.rar AAA

Above reference: http://nameyjj.blog.51cto.com/788669/477692

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.