How to Unrar Files in Linux



Hello,
Today im going to teach you how to unrar files in linux with a command line.
First : Download the rar linux from here:
wget -O rar.tar.gz http://www.rarlab.com/rar/rarlinux-3.7.1.tar.gz
Second: Rename it to rar.tar.gz
gzip -dc rar.tar.gz | tar xf -
Third: Extract the rar.tar.gz
tar zxvf rar.tar.gz
Fourth: Go to the rar folder
cd rar
Fifth: Copy the rar directory to the bin folder
cp rar unrar /bin

After that you can extract rar files.
NRAR 3.71 freeware Copyright © 1993-2007 Alexander Roshal
Usage: unrar - -
<@listfiles…>

e Extract files to current directory
l[t,b] List archive [technical, bare]
p Print file to stdout
t Test archive files
v[t,b] Verbosely list archive [technical,bare]
x Extract files with full path

– Stop switches scanning
ad Append archive name to destination path
ap Set path inside archive
av- Disable authenticity verification check
c- Disable comments show
cfg- Disable read configuration
cl Convert names to lower case
cu Convert names to upper case
dh Open shared files
ep Exclude paths from names
ep3 Expand paths to full including the drive letter
f Freshen files
id[c,d,p,q] Disable messages
ierr Send all messages to stderr
inul Disable all messages
kb Keep broken extracted files
n Include only specified file
n@ Read file names to include from stdin
n@ Include files in specified list file
o+ Overwrite existing files
o- Do not overwrite existing files
or Rename files automatically
ow Save or restore file owner and group
p[password] Set password
p- Do not query password
r Recurse subdirectories
sl Process files with size less than specified
sm Process files with size more than specified
ta Process files modified after in YYYYMMDDHHMMSS format
tb Process files modified before in YYYYMMDDHHMMSS format
tn

Hope its help! Enjoy!

Belum ada Komentar untuk "How to Unrar Files in Linux"

Posting Komentar

Iklan Atas Artikel

Iklan Tengah Artikel 2

Iklan Bawah Artikel