Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Your site has saved me hours of work that I cannot begin to express my satisfaction..."

Geography

Where in the world do Tek-Tips members come from?

I lost my RAR files partXX.rar extensions => how can reorder them ?

guista (Programmer)
9 Apr 10 9:55
Hi all,

I lost the extension of my multi-part RAR archive.
My archive files were named like this:

myarchive.part01.rar
myarchive.part02.rar
myarchive.part03.rar
myarchive.part04.rar
myarchive.part05.rar

... and so on.

Unfortunately, the file names were truncated and I lost the part numbers.
Actually my file names look like this:

myarchive(1)
myarchive(2)
myarchive(3)
myarchive(4)
myarchive(5)

The number between the parenthesis does not indicate the right RAR order.

* Is there any way to retrieve the order so I can uncompress my archive and retrieve my archived files ?

* Is the part number information stored in the RAR files ?

My files are hundred of MB and I have 10 files so I can not try all the possible combination.

Thanks in advance for your help.
 
itea (IS/IT--Management)
10 Apr 10 1:00
Hello Guista,


I'm not aware of an embedded information on the chain number. However, here are several ways I can think of:

* If your files have the original timestamps, name them based on their datetime...

* The first archive will have this sign next to the file compressed inside:  " -->" , the subsequents ones will show " <-->" , and the last one " --->" . This will allow you to identify easily the first one and the last one. Then you could: open the first one, ask for an extract, winrar will prompt you to locate the next archive; offer the 2nd, 3rd, etc.. until it accepts it, and so on. This should minimize your amount of tries.

Good Luck !

--------------------
Pierre Martin / ITEA
Information Technology Experts Alliance
Cloud Computing for Small Businesses
www.ocitea.com

guista (Programmer)
12 Apr 10 11:05
That's what I did but unfortunately, WinRAR accept any part, build the whole file and only tells there is a CRC error at the end of the process (minutes and minutes later) !
I tried dumping the WinRAR files but did not find any indexing information.
 
Salem (Programmer)
25 Apr 10 9:04
If you use the strings utility (or at a push, a hex editor), you should be able to see all the pathnames of the files.  Pretty much everything else will be unprintable and not displayed at all.

After a quick test (albeit with only one rar file), I think that rar(n+1) begins with the same filename that rar(n) ended with.

If you can match up the last/first filenames, then it might be an order worth trying.
 

--
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close