Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a directory full of rar files, with extensions ranging from .r00 to .r30. It also has one file with .rar extension.

From all of this must come a video file. How do I do it?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

If you only have rar program, the command x would accomplish the task:

rar x <part_name>

The program automatically searches for the appropriate parts of the archive.

Note: sometimes the naming can be <archive_name>.part##.rar.

share|improve this answer

You can use the unrar program. From how-to-open-a-rar-file-in-linux:

If you need to uncompress a .rar archive in Linux, you can download a program called unrar. If you are using Ubuntu or Debian, you can install unrar by opening a terminal and typing sudo apt-get install unrar. Then read the instructions by typing man unrar.

[UPDATE: to install unrar in Ubuntu you need the Multiverse Repository enabled.]

Basically, to unrar a file in Linux, just navigate to the directory where your rar archive is and type unrar x [filename.rar], replacing [filename.rar] with the name of your rar archive.

For a series of files, you should be able to just specify the one with the .rar extension.

Update - this is confirmed by wikihow:

If a RAR file is broken into smaller files, they are named .rar, .r00, .r01 and so on. Point your unrar utility at the .rar file and it will automatically put the pieces back together.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.