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.

Suppose you have a multipart rar file, say file.part1.rar, file.part2.rar, file.part3.rar.

I know that I can extract only the first parts using for example

unrar e -kb file.part1.rar

However assume that I have only file.part3.rar and not part 1 and 2. Is then there a way to extract the content of part 3?

Is this possible if the rar file contains a video file? (Extracting part 3 schould then result in a video file which contains only the last x minutes).

If it is not possible, is it because it is in principle impossible or because there is currently just no program which can do it.

Edit: Is it possible to extract say the last part if you have just the last and the first part but not the parts between?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

it seems to be impossible, cause multiparted rar archive contents metadata about all the files inside all the parts of an archive.

and even if you tries to unrar a single file (movie) not from the beginning, it will fail, cause file contains metadata of itself in the beginning, and even video stream is a container with a special format ant it's headers and so on... (mp4, mkv...).

Even if you'll try to chop the file, it's a bad idea. Just find a full source of the file you want ))

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.