[Ubuntu-BD] How to unrar and combine multiple RAR files on Ubuntu

Tareq Siraj to_tareq at yahoo.com
Thu Dec 18 14:24:21 GMT 2008


lol ... not really. It probably fails under windows ... but under linux, it picks up the first file by itself. So ... its going to do it 10 times for 10 parts. Try it ... its going to ask you if you want to overwrite the file(s) 9 times :). 

@Hafiz: if youre more comfortable with nautilus, then you should just use the extension ... i find it faster to work with on the command line :).

tsiraj at morrison: ~/tmp_rar $ unrar x 9761.part2.rar

UNRAR 3.71 beta 1 freeware      Copyright (c) 1993-2007 Alexander Roshal


Extracting from 9761.part2.rar


Extracting from 9761.part1.rar

Extracting  test1.exe

Extracting from 9761.part2.rar

...         test1.exe

Extracting from 9761.part3.rar

...         test1.exe      OK
Extracting  test2.exe

Extracting from 9761.part4.rar

...         test2.exe

Extracting from 9761.part5.rar

...         test2.exe

Extracting from 9761.part6.rar

...         test2.exe  OK
All OK
Return code: 0


 
Regards,
Tareq Ahmed Siraj





________________________________
From: Nasimul Haque <nasim.haque at gmail.com>
To: Ubuntu Bangladesh <ubuntu-bd at lists.ubuntu.com>
Sent: Thursday, December 18, 2008 6:13:19 AM
Subject: Re: [Ubuntu-BD] How to unrar and combine multiple RAR files on Ubuntu

2008/12/17 Tareq Siraj <to_tareq at yahoo.com>:
> Umm... if youre talking about multi-part rar archives, unrar picks up the rest of the chain of parts if you only give it the first one (at least for my unrar 3.71b does it). find will actully execute unrar for every part the archive has (if it has 10 parts, it will extract the whole thing 10 times) :) ... or I am missing the bigger picture here.

The other nine times unrar should fail. Because on multi-part rar
archive, you cannot unrar if you don't start from the first part. So,
find command passes 10 files to unrar individually of which only the
first file will be extracted and the other 9 times it will fail.
However, if unrar is smart enough to find the first part
automatically, then you end up with 10 times unarchiving the same
file.

It is common sense to use only the first file to unarchive because it
is splitted by the rar program itself. And it can remember how did it
split the files. Also in windows you do not double click or 'extract
here' on every single file, do you?


-- 
M. Nasimul Haque, M.Sc.(SUST)
Wessex Institute of Technology
Southampton, UK

-- 
Ubuntu Bangladesh mailing list
ubuntu-bd at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd



      


More information about the ubuntu-bd mailing list