Page 1 of 1

unrar fails on case-sensitive filesystems

Posted: December 15th, 2010, 3:11 am
by gyre
I've recently had some rar files fail to unpack on Linux.  The reason is that some of the parts of the rar archive have a different case to others.

For example:

foo.rar
foo.r01
FoO.r02
foo.r03

unrar will complain it can't find foo.r02.

Presumably this archive has been created on a filesystem where the case doesn't matter.

Is it possible for SAB to pre-process the rar filenames so that unrar is happy with them?  Alternatively, tweak unrar so that it isn't case-sensitive?

Thanks!

-- gyre --

Re: unrar fails on case-sensitive filesystems

Posted: December 15th, 2010, 4:35 am
by shypike
Not much we can do.
SABnzbd doesn't know what unrar will expect, since it doesn't look inside the RAR files.
This specific case may look easy to solve, but it would be hard to create a general solution
to this kind of problem.

Re: unrar fails on case-sensitive filesystems

Posted: December 15th, 2010, 4:57 am
by gyre
I understand what you're saying.

It's a pity we can't beat on the unrar sources to do this.

There is a yukky workaround that I'm going to try for a bit:

http://www.learnosity.com/techblog/inde ... nux--HOWTO

-- gyre --