mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

unrar spanned archive

Tue Sep 24, 2013 6:05 am

Hi!
I have a spanned archive set (part1.rar, part2.rar .... etc) and I need to unrar it via command line.
I tried

Code: Select all

unrar e a.part1.rar

Code: Select all

unrar e a.part1.rar a.part2.rar
but I still have the same error:

Code: Select all

unrar 0.0.1  Copyright (C) 2004  Ben Asselstine, Jeroen Dekkers


Extracting from /media/ScreenPlayHD/a.part1.rar

Extracting  a.txt                                              Failed    
1 Failed

Everything is fine with single rar file or if I try to unrar the same spanned archive from windows.
Same error if I use Xarchive from LXDE.

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: unrar spanned archive

Wed Sep 25, 2013 11:53 am

No one? :roll:

User avatar
RaTTuS
Posts: 10506
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: unrar spanned archive

Wed Sep 25, 2013 12:32 pm

umm at a guess they are named wrong
should they not be something like
file.rar
file.part2
file.part3

then you
unrar e file

it will find the other parts then
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: unrar spanned archive

Wed Sep 25, 2013 1:07 pm

On windows I can unrar them as they are now, a.rar, a.part1.rar, a.part2.rar ..
You are suggesting to rename them in a.part1, a.part2 removing rar suffix?

User avatar
RaTTuS
Posts: 10506
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: unrar spanned archive

Wed Sep 25, 2013 1:43 pm

yeah try it and see

I never use rar these days myself
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: unrar spanned archive

Wed Sep 25, 2013 4:27 pm

I had
a.part1.rar,
a.part2.rar,
a.part3.rar.

Unrar e a.part1.rar
failed.

Unrar e a.part1.rar a.part2.rar a.part3.rar
failed.


Renamed to
a.part1,
a.part2,
a.part3

Unrar e a.part1
failed.

Unrar e a.part1 a.part2 a.part3
failed.

Error:
unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers


Extracting from /media/ScreenPlayHD/a.part1

Extracting p.iso Failed
1 Failed

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: unrar spanned archive

Thu Oct 10, 2013 6:36 am

I still have the same problem.

Can someone suggest me another utility to unrar spanned archive?

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: unrar spanned archive

Mon Nov 04, 2013 10:30 pm

none can help me?

suchenwi
Posts: 27
Joined: Fri Sep 27, 2013 8:40 pm

Re: unrar spanned archive

Mon Nov 04, 2013 10:52 pm

As RaTTuS wrote on Sep.23, the files should be named
x.rar
x.part2
x.part3
...
Have you tried that?

User avatar
jojopi
Posts: 3088
Joined: Tue Oct 11, 2011 8:38 pm

Re: unrar spanned archive

Mon Nov 04, 2013 11:42 pm

suchenwi wrote:As RaTTuS wrote on Sep.23, the files should be named
x.rar
x.part2
x.part3
No, they are named correctly. They can be either .partN.rar, or old-style: .rar .r00 .r01…

The problem is that the unrar implementation in package unrar-free does not support multipart archives. http://gna.org/bugs/?723

The "proper" versions of rar/unrar are not free software and presumably are not available for ARMv6 with hard float ABI. It may be possible to compile unrar (but not rar) yourself from source. http://www.rarlab.com/rar_add.htm

A better option is to stop using rar. It is very slow and does not have particularly good compression.

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: unrar spanned archive

Tue Nov 05, 2013 7:36 am

Is the compile an hard job?
I'm e rookie on linux compilation stuff.
In the link you provided I found 2 interesting archive:
UnRAR for ARM Linux Command line freeware ARMEL v4 Linux UnRAR.
UnRAR for ARM Linux Command line freeware ARM Linux UnRAR.

Which one I have to download and compile?

There is any way to join the partN.rar files to have big rar file and use unrar-free with it?

User avatar
RaTTuS
Posts: 10506
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: unrar spanned archive

Tue Nov 05, 2013 9:40 am

personally,
I'd unrar them on a PC then re zip them with anything else [or not and just move them whole]
rar is slow , proprietary , not very good and a lot of other things that I will not mention on a family friendly forum [FFF]

http://www.rarlab.com/rar/unrarsrc-5.0.12.tar.gz <- is probably the place you want to start
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: unrar spanned archive

Tue Nov 05, 2013 1:03 pm

Thanks.
I'll check you link.

Regards

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: unrar spanned archive

Tue Nov 05, 2013 1:23 pm

I know the goal is to "solve the problem" and not get waylaid into "side meta", but, just out of curiosity (seriously!), I think many of would like to know why it is that you need to use RAR.

Is this a one-time deal, or is it part of an on-going process?

Is there any reason why you couldn't just unrar it on a PC (and be done with this task) ?

(I assume that size is an issue - given that the thing is a multi-part archive - but still, the question remains...)
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: unrar spanned archive

Tue Nov 05, 2013 1:25 pm

I should add to the previous that (given what little I know about RAR, having never used it, just read about it), the primary attraction of RAR is the ability to run scripts and stuff as part of the unpacking process (i.e., it is more of an installer than just a mere archiver), but the funny thing about this, of course, is that that functionality be turned off (disabled) in a non-Windows version [*].

[*] For "security reasons" ...
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: unrar spanned archive

Thu Nov 07, 2013 11:53 am

I usually receive rar files so I have to deal with them and I cannot choose the packing algorithm.
I'm not moving file to the pc because it will take a while copying them via samba (raspberry is connect via wifi dongle to the network).

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: unrar spanned archive

Thu Nov 07, 2013 2:16 pm

mcgyver83 wrote:I usually receive rar files so I have to deal with them and I cannot choose the packing algorithm.
I'm not moving file to the pc because it will take a while copying them via samba (raspberry is connect via wifi dongle to the network).
OK - that all makes sense. The key being that it is *not* a "one-time deal".
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: unrar spanned archive

Fri Nov 08, 2013 8:55 am

unfortunately no :?
Ok, I'll try compiling winrar sources.

Thanks

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: unrar spanned archive

Mon Nov 11, 2013 9:42 pm

jojopi wrote:
suchenwi wrote:As RaTTuS wrote on Sep.23, the files should be named
x.rar
x.part2
x.part3
No, they are named correctly. They can be either .partN.rar, or old-style: .rar .r00 .r01…

The problem is that the unrar implementation in package unrar-free does not support multipart archives. http://gna.org/bugs/?723

The "proper" versions of rar/unrar are not free software and presumably are not available for ARMv6 with hard float ABI. It may be possible to compile unrar (but not rar) yourself from source. http://www.rarlab.com/rar_add.htm

A better option is to stop using rar. It is very slow and does not have particularly good compression.
I'm trying to compile from the sources suggested by Rattus, http://www.rarlab.com/rar/unrarsrc-5.0.12.tar.gz
I extracted the sources, run "make".... after how can I install compiled software and delete sources?
Sorry but it's the first compile I made

Return to “Beginners”