LinuxQuestions.org
Visit Jeremy's Blog.
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 05-09-2005, 04:20 PM   #1
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Rep: Reputation: 31
extracting password protected rar files


Does anyone know the command line for opening a password protected rar file?

Is it: rar e p[password] rarfile.rar ?
Is it: rar e ppassword rarfile.rar ?

I really wish someone could make a gui for winrar.
 
Old 05-09-2005, 05:23 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
If you are using kde you can try Ark the GUI of kde, if using gnome/xfce you can try using fileroller.
From the command line,you need unrar installed.
unrar x filename.rar (might prompt you for the password i believe)
 
Old 05-09-2005, 05:49 PM   #3
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by mrcheeks
If you are using kde you can try Ark the GUI of kde, if using gnome/xfce you can try using fileroller.
From the command line,you need unrar installed.
unrar x filename.rar (might prompt you for the password i believe)
Ark doesn't have rar support, fileroller can't see anything inside of the file, and 'unrar' is an unknown bash command. 'rar' is known, but when I tried 'rar x' I got "Unexpected end of archive - No files to extract". But I know this isn't true because I extracted the file just fine in Windows.
 
Old 05-09-2005, 08:36 PM   #4
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
 
Old 05-09-2005, 08:48 PM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
First, check your system to see if you have unrar: which unrar or apropos unrar should show you if you have it or not. It may not be in your path, in which case bash would tell you it's an unknown command.
If that should turn out to be the case (you have it, but it's not in your path), just give the full path to unrar followed by unrar options and filename.

Something like: /usr/bin/unrar -e p- <filename>
 
  


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
extracting .rar with part01.rar? chime Linux - General 5 04-11-2006 06:59 PM
extracting from password protected zip files sanjith11 Linux - Software 4 03-21-2006 09:14 AM
extracting compressed torrent downloads that are password protected aw76 Linux - General 2 11-26-2005 04:21 AM
extracting files from RAR archives corbis_demon Linux - Newbie 3 03-30-2005 05:25 AM
Password Protected rar files on Linux Mandrake 9.1 gregonite Linux - Newbie 2 01-23-2005 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:31 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
Open Source Consulting | Domain Registration