extracting rar document

Asked by silvia lomascolo

I succesfully installed unrar but I cannot extract the document I need. The command line I am using is

unrar e nameofdocument.rar

Am I typing something wrong?

Thanks! Silvia.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu rar Edit question
Assignee:
No assignee Edit question
Solved by:
silvia lomascolo
Solved:
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

do you get any errors?

Revision history for this message
silvia lomascolo (slomascolo) said :
#2

Yes, I get the following error

Cannot open 0816081697Ecology.rar
No existe el fichero ó directorio
No files to extract

But the name is spelled correctly and I see the file on my desktop, so I am not sure why it can't be found.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

the command is:

rar x filename.rar

or if you install unzip you can use it with nearly any compressed file and it will use the right method.

Revision history for this message
mycae (mycae) said :
#4

>No existe el fichero ó directorio
This means that the file is not in the same folder as the command was executed in. The terminal, like the file manager, has a concept of a "current directory" -- you can see this with the "print working directory" command:

pwd

 By default your terminal opens up in your home folder. You have to use the "cd" command to move between folders. Its probably easiest if you just dump the rar file into your home folder.

Revision history for this message
mycae (mycae) said :
#5

so for example

cd Desktop
unrar e 0816081697Ecology.rar

would work

Revision history for this message
silvia lomascolo (slomascolo) said :
#6

Thanks, my problem was as basic as not bein gin the right directory. Thanks for your patience with this linux newbee! Silvia.