Linux Tar-rar-unrar decompression/compression shrink command Daquan

Source: Internet
Author: User
Tags rar stdin switches

Reprint please indicate the source:
Http://www.cnblogs.com/why168888/p/5975559.html

This article is from:"Edwin Blog Garden"

rar File Download: http://www.rarlab.com/download.htm

Nrar5.40Freeware Copyright (c)1993- .Alexander Roshalusage:unrar<command>-<Switch 1>-<SwitchN> <archive> <files...> < @listfiles ...> <path_to_extract\><Commands>e Extract files without archived paths L[t[a],b] List archive contents [Technical[all], bare] p Print file to stdout T Test archive files v[t[a],b] verbosely List Archive contents [Technical [All],bare] x Extract files with full path<Switches>-Stop Switches Scanning @[+] Disable [Enable] file lists ad Append archive name to destination path Ag[format] Generate Archive nameusingThe current date AI Ignore file attributes ap<path>Set path inside archive C-Disable comments Show Cfg-Disable Read configuration cl Convert names to Lower Casecu Convert names to Upper CaseDH Open shared files EP Exclude paths fromnames ep3 Expand paths to full including the drive letter F freshen files Id[c,d,p,q] Disa BLE messages Ierr Send all messages to stderr Inul Disable all messages KB Keep broken ext racted Files N<file>additionally filter included files [email protected] Read additional filter Masks fromstdin [email protected]<list> Read Additional Filter Masks fromlist File o[+|-] Set The overwrite mode ol[a] Process Symbolic Links asThe link [absolute paths] or Rename files automatically ow Save or restore file owner and Gro Up P[password] Set password P-Do not query password R Recurse subdirectories SC<chr>[obj] Specify the characterSetSL<size>Process files with size less than specified SM<size>Process files with size more than specified TA<date> Process files modified after <date>inchYYYYMMDDHHMMSS Format TB<date> Process files modified before <date>inchYyyymmddhhmmss format TN<time> Process files newer than <time> to<time> Process files older than <time>TS<m,c,a>[N] Save or restore file time (modification, creation, access) U Update files v List all VO Lumes Ver[n] File version control VP Pause before each volume x<file>Exclude specified file [email protected] Read file names to Exclude fromstdin [email protected]<list> Exclude Files Listedinchspecified list file y assume Yes on all queries

Use the command:
--parameter can view help information;
The x parameter is used to extract the file;
The T parameter is used to test for damage;
The L parameter is used to list files.

Unrar e file.rar —————— "extract to current directory
Unrar x File.rar (directory name) —————— "Extract to xx directory
Unrar l file.rar —————— "viewing files in rar
Unrar v file.rar —————— view rar more details
Unrar T File.rar —————— Check if compression can be successfully

Note:
File.rar: Is the file we compress.



Linux Tar-rar-unrar decompression/compression shrink command Daquan

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.