LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2004, 04:35 AM   #1
priest_judas
Member
 
Registered: Dec 2003
Distribution: Slackware 9.0
Posts: 32

Rep: Reputation: 15
going insane with RAR files


hello everybody... I'm going insane with rar files! I've searched and read all topics about rar files at linuxquestions but no thread seems to help me...

I have a simple question that should have a simples answer...

what command should I try to unrar a file?

I don't need anything complex... I just want to extract a file.rar at the same directory or to a specified directory, it doesn't matters to where but I need to extract it...

I tryed everything possible but nothing works and I've going insane here... I've already downloaded and intalled the rar file from rarlab... could someone help me before I try suicide? (just kidding heheh)
 
Old 01-17-2004, 05:01 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
"unrar -e filename.rar" (no quotes) doesn't work?
 
Old 01-17-2004, 05:13 AM   #3
priest_judas
Member
 
Registered: Dec 2003
Distribution: Slackware 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
no, it doesn't ._.

I tryed as root too, but it didnt work again...









renato@slackware:~/internet_downloads$ unrar -e evanescence.rar

UNRAR 3.30 beta 5 freeware Copyright (c) 1993-2004 Eugene Roshal

Usage: unrar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>

<Commands>
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

<Switches>
- Stop switches scanning
ad Append archive name to destination path
ap<path> 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
f Freshen files
idp Disable percentage display
ierr Send all messages to stderr
inul Disable all messages
kb Keep broken extracted files
o+ Overwrite existing files
o- Do not overwrite existing files
ow Save or restore file owner and group
p[password] Set password
p- Do not query password
r Recurse subdirectories
ri<P>[:<S>] Set priority (0-default,1-min..15-max) and sleep time in ms
ta<date> Process files modified after <date> in YYYYMMDDHHMMSS format
tb<date> Process files modified before <date> in YYYYMMDDHHMMSS 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 volumes
ver[n] File version control
vp Pause before each volume
x<file> Exclude specified file
x@ Read file names to exclude from stdin
x@<list> Exclude files in specified list file
y Assume Yes on all queries
renato@slackware:~/internet_downloads$
 
Old 01-17-2004, 05:19 AM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
my bad. no "-" before the "e" command.

try:

unrar e filename.rar
 
Old 01-17-2004, 01:02 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
The commands do not use dashes but the options do.

This command will extract the file(s) from an rar archive and keep a broken recovered file (like the first part of a video):
rar x -kb filename.rar

Sometimes there isn't a .rar file and you need to use the .part001 file instead.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to deal with .rar files in linux now that rar is no longer part of linux Lleb_KCir Linux - Software 14 11-22-2008 08:01 AM
Rar files AquaInferno Linux - Software 4 09-06-2005 12:18 AM
.rar files versus .iso files the difference? dolphans1 Mandriva 14 01-31-2005 10:33 AM
Rar Files Jeb1337 Linux - Software 7 11-23-2003 11:26 AM
.RAR Files p.z Linux - Software 6 08-18-2003 03:38 PM


All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration