LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2003, 04:31 PM   #1
gregonite
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
Password Protected rar files on Linux Mandrake 9.1


I am a complete noobie...so far been trying to figure things out for myself but I am still have problems with rar files.

I have a rar file (G.rar) that I want to extract. It opens in File Roller, but does not extract because it is password protected. When I go to help it says only zip files support the password option.

so I tried downloading winrar for linux. I don't understand how to typ the commands.

I just want to extract G.rar to the same directory so I typed:

******************************************************************************************
[gergey@sympatico GoodByeLenin]$ unrar -e -p[password] G.rar /home/gergey/downloads

UNRAR 3.20 freeware Copyright (c) 1993-2003 Eugene Roshal

Cannot open /home/gergey/downloads.rar
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
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 Create volumes with size autodetection or 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
[gergey@sympatico GoodByeLenin]$

******************************************************************************************

I also tried this as root. All I get is this long list of commands. What should I be typing in order to unrar a password protected rar file. Is there any way I can get file roller to work? Are there any other ways to do it?

Thank you
 
Old 10-11-2003, 05:53 PM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
if u know the password for the rar file and file-roller doesn't open it, if u have a windows partition available, unrar it in there

or better yet, install wine and install winrar with that, it if almost fully functional and unrars just as fast as in windows (gui and all)
 
Old 01-23-2005, 07:40 AM   #3
maxfacta
Member
 
Registered: Aug 2004
Location: Perth, Australia
Distribution: Debian @ home + work :)
Posts: 66

Rep: Reputation: 22
Remove the - from the e. For unrar, e is the command rather than a switch.

Quote:
unrar e -p[password] G.rar /home/gergey/downloads
 
  


Reply



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 07:01 AM
extracting from password protected zip files sanjith11 Linux - Software 4 03-21-2006 09:14 AM
accessing files in password protected account on another mnt Cinematography Linux - General 10 05-12-2005 02:52 PM
extracting password protected rar files Cinematography Linux - Software 4 05-09-2005 08:48 PM
how to open password protected file (by MSWord) in Linux chillangella Linux - Newbie 2 08-04-2004 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:56 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