Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to extract all RAR files using unrar.exe via the command line without passing it each part?

I have lots of multipart RAR files in mixed formats: .part1.rar, .part2.rar or .rar, .r00, .r01, etc.

Is there a trick I'm missing or this is something only possible from WinRAR (where you just right click Extract and it knows to extract from the other parts as well)?

share|improve this question

migrated from stackoverflow.com Aug 20 '11 at 14:53

This question came from our site for professional and enthusiast programmers.

2 Answers 2

I've had this very problem before and here is the answer.

unrar x filename.part1.rar
share|improve this answer

I know this is an old question, but I did it with just the following command, using UNRAR 4.10 freeware

unrar e filename.rar

This handled the multiparts just fine.

share|improve this answer
4  
Strangley, in Debian, the unrar package was able to extract my multi-part rars, but the unrar-free was not. This is a bit confusing, because running the unrar command from the unrar package (which is supposedly not free) states that it is UNRAR 4.10 freeware as you mentioned. Thank you, I have been unable to get this working for quite some time. –  bhinesley May 21 '13 at 4:57
    
To follow up, in Debian, if you don't see a package called 'unrar', make sure you're including contrib and non-free in your apt sources. Unrar is a non-free package. –  Jeff Welling Oct 12 '13 at 20:16

Your Answer

 
discard

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