Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old May 22, 2007, 09:41 PM   #1
eriX
macrumors member
 
Join Date: May 2007
How to repair a damaged RAR file...

Hi guys!

Ive download a torrent file of 6.5 Gb and finally after several weeks i got a message from Stuffit Xpander wich told me that my rar file is damaged.

Can someone help me with this frustrating situation?
eriX is offline   -1
Old May 22, 2007, 09:52 PM   #2
Sherman Homan
macrumors 6502
 
Join Date: Oct 2006
If the download completed, then the was some sort of response that indicated it was all there. That probably means that the original was no good!
Sherman Homan is offline   0
Old May 22, 2007, 09:53 PM   #3
quigleybc
macrumors 68030
 
quigleybc's Avatar
 
Join Date: Jun 2005
Location: Beautiful Vancouver British Columbia, Canada
Send a message via Skype™ to quigleybc
sounds like the legal torrent you downloaded might have failed a checksum, or it may be corrupt.

I would try moving the whole file to a different drive (if you have more than one) and try googling and downloading UnRarX instead of Stuff it
__________________
Black Book
Black iPhone
powermacg5 * iPod touch,nano,shuffle,3g * etc...
quigleybc is offline   0
Old May 22, 2007, 10:03 PM   #4
brkirch
macrumors regular
 
Join Date: Oct 2001
If the file is actually corrupt and not just unsupported by Stuffit and is not an incomplete download you might be able to repair it. At www.rarlabs.com there is a Mac OS X port of their rar program. Download and decompress it. Open the terminal and drag the file named rar from the decompressed folder to the terminal window, then click the terminal window and type "r ", drag the rar file you want to repair onto the terminal window, click the terminal window and hit return. If the file has a rar recovery record then a repair will be attempted.
brkirch is offline   0
Old May 23, 2007, 01:13 AM   #5
eriX
Thread Starter
macrumors member
 
Join Date: May 2007
Thank you very much guys I tried UnrarX and I can extract my legal file partially The other part is damaged, more users can confirm it.
eriX is offline   0
Old May 23, 2007, 06:21 AM   #6
dav
macrumors 6502
 
Join Date: Jun 2004
Get a par file for it

http://en.wikipedia.org/wiki/Parchive
dav is offline   0
Old May 23, 2007, 10:36 AM   #7
steelfist
macrumors 6502a
 
Join Date: Aug 2005
download the file again to another location, and if possible, have the program recheck the download.
steelfist is offline   0
Old Sep 16, 2010, 11:13 AM   #8
woofbow
macrumors newbie
 
Join Date: Sep 2010
Repairing a Corrupt (CRC error) RAR archive on OS X

Quote:
Originally Posted by brkirch View Post
If the file is actually corrupt and not just unsupported by Stuffit and is not an incomplete download you might be able to repair it. At www.rarlabs.com there is a Mac OS X port of their rar program. Download and decompress it. Open the terminal and drag the file named rar from the decompressed folder to the terminal window, then click the terminal window and type "r ", drag the rar file you want to repair onto the terminal window, click the terminal window and hit return. If the file has a rar recovery record then a repair will be attempted.
Well, Mr. Brkirch -
It's been over 3 years since you posted the above reply, and I luckily found your post.

I d/l a 2-gig post in 13 rar segments. One of the segments was corrupt, even after multiple d/ls. I use UnRarX to decompress and join. It's very simple and effective, I use it all the time, but it is pretty basic and has no repair function.

I looked all over for software to help me fix the error, but there isn't any for Mac OS X, it appeared. Some folks told me I needed a PAR file, but I tried fooling with MacParDeluxe, which I've had for some time as well, but when it encountered the bad RAR archive it couldn't do anything.

Fortunately I found your post. I'm not a big command-line guy, but I d/l the WINRAR command-line tool for Mac OS X. It's currently at version 3.9.3 but I found an older one, 3.8.0 to be sure it would work OK with my version of OS X (10.4.11).

Anyway, I tried the steps you outlined, but it didn't work at first. The only thing missing in your directions is to identify the destination path where you want the fixed file placed. Once I did that, the program scanned the file, found the recovery record, and fixed it.

The archive combined and unstuffed perfectly after that.

Thank you, sir, for your expertise and post. I appreciate it!
woofbow is offline   0
Old Sep 18, 2010, 09:57 PM   #9
gskiser
macrumors member
 
Join Date: Jun 2003
Quote:
Originally Posted by woofbow View Post
Well, Mr. Brkirch -
It's been over 3 years since you posted the above reply, and I luckily found your post.

I d/l a 2-gig post in 13 rar segments. One of the segments was corrupt, even after multiple d/ls. I use UnRarX to decompress and join. It's very simple and effective, I use it all the time, but it is pretty basic and has no repair function.

I looked all over for software to help me fix the error, but there isn't any for Mac OS X, it appeared. Some folks told me I needed a PAR file, but I tried fooling with MacParDeluxe, which I've had for some time as well, but when it encountered the bad RAR archive it couldn't do anything.

Fortunately I found your post. I'm not a big command-line guy, but I d/l the WINRAR command-line tool for Mac OS X. It's currently at version 3.9.3 but I found an older one, 3.8.0 to be sure it would work OK with my version of OS X (10.4.11).

Anyway, I tried the steps you outlined, but it didn't work at first. The only thing missing in your directions is to identify the destination path where you want the fixed file placed. Once I did that, the program scanned the file, found the recovery record, and fixed it.

The archive combined and unstuffed perfectly after that.

Thank you, sir, for your expertise and post. I appreciate it!
I'm trying to do the same thing. Could you expand on how to identify the destination path within the terminal window? It may be obvious, but I'm not very familiar with using the terminal.
gskiser is offline   0
Old Sep 19, 2010, 08:49 PM   #10
woofbow
macrumors newbie
 
Join Date: Sep 2010
Quote:
Originally Posted by gskiser View Post
I'm trying to do the same thing. Could you expand on how to identify the destination path within the terminal window? It may be obvious, but I'm not very familiar with using the terminal.
Hi. Sure thing.

First, to reiterate, drop the "rar" program file from the "rarosx" folder onto the terminal window. Then make sure there's a space, then type "r" (without the quotes). Then make sure there's another space. Then drop the file you want repaired onto the terminal window (it'll give the path and name of the file). Then make sure there's another space, and type "Users/yourname/Desktop" or wherever you want the fixed file placed. It may be easier to just drop the folder where you want it placed onto the terminal window again so there's no chance at typos.

Then hit "return" and the repair scan will start. if the file has a recovery record, it will say that it was found almost immediately. Then it goes about repairing the file. Depending on the size of the file, it may take a couple minutes.

Note that the file will have the prefix "fixed" appended to the beginning of the filename. You'll need to delete that once the repair process has completed before you attempt to join the files again.

That should do the trick!
woofbow is offline   1
Old Sep 20, 2010, 01:29 PM   #11
gskiser
macrumors member
 
Join Date: Jun 2003
Thank you!!!

Quote:
Originally Posted by woofbow View Post
Hi. Sure thing.

First, to reiterate, drop the "rar" program file from the "rarosx" folder onto the terminal window. Then make sure there's a space, then type "r" (without the quotes). Then make sure there's another space. Then drop the file you want repaired onto the terminal window (it'll give the path and name of the file). Then make sure there's another space, and type "Users/yourname/Desktop" or wherever you want the fixed file placed. It may be easier to just drop the folder where you want it placed onto the terminal window again so there's no chance at typos.

Then hit "return" and the repair scan will start. if the file has a recovery record, it will say that it was found almost immediately. Then it goes about repairing the file. Depending on the size of the file, it may take a couple minutes.

Note that the file will have the prefix "fixed" appended to the beginning of the filename. You'll need to delete that once the repair process has completed before you attempt to join the files again.

That should do the trick!
Wow...thank you so much! Everything worked perfectly. I was up to the point where I dropped in the file needing to be prepared, but couldn't get beyond that. However, I wasn't putting a space after the 'r', so that detail you provided also really helped. Thank you so much again for taking the time to respond with such easy to follow instructions!!!
gskiser is offline   0
Old Sep 20, 2010, 02:01 PM   #12
chrono1081
macrumors 604
 
chrono1081's Avatar
 
Join Date: Jan 2008
Location: Isla Nublar
A RAR file corrupt??? Never...:P

I hate RAR and refuse to use it if I can help it. Its the quickest way to lose data through compression.
__________________
Mac Pro (2010): 3.33Ghz Intel Xeon (6 core) - 24 GB RAM - NVidia Quadro k5000
Macbook Air (2010): 2.13 Ghz Intel Core 2 Duo - 4GB RAM
chrono1081 is offline   0
Old Sep 21, 2010, 01:56 PM   #13
woofbow
macrumors newbie
 
Join Date: Sep 2010
Quote:
Originally Posted by gskiser View Post
Wow...thank you so much! Everything worked perfectly. I was up to the point where I dropped in the file needing to be prepared, but couldn't get beyond that. However, I wasn't putting a space after the 'r', so that detail you provided also really helped. Thank you so much again for taking the time to respond with such easy to follow instructions!!!
My sincere pleasure, sir. If it weren't for Mr. brkirch's above post from THREE years ago, I would have been lost as well. I searched everywhere I could on Google, but there just isn't a GUI app for Mac OS X that does this.

I'm not a regular Terminal user either, although I used to do more of it a few years ago when I was setting up Apache websites. I think it's more of a friend than enemy, though. It just takes a lot of trial and error, sometimes, and closely reading either the on-screen instructions or going to the MAN pages.

Cheers!
woofbow is offline   0
Old Dec 7, 2010, 09:08 PM   #14
DaTr0ll
macrumors newbie
 
Join Date: Dec 2010
Problem with fix

Gskiser,

What I have is a bad rar within a rar portion and that is what is causing the expansion to fail. Any thoughts on how to fix this particular problem or am I just out of luck?
DaTr0ll is offline   0
Old Mar 28, 2011, 03:15 PM   #15
cjedj
macrumors newbie
 
Join Date: Nov 2009
woofbow and brkirch - at the risk of turning this into the board's thread which goes the longest between posts - thank you both. Your instructions just saved me from tearing my hair out over a failed CRC. Great work!
cjedj is offline   0
Old Sep 17, 2011, 11:11 AM   #16
orangestudio
macrumors newbie
 
Join Date: Jul 2010
Terminal not working...

I dropped the program file "UnRarX" into Terminal and it turns into unrarx.app and it says it's a directory, after 'Bash'. How can I work around that? Help!
__________________
20" Aluminum iMac, 15" Macbook Pro, 13" Macbook (white), Mac Pro (PPC), iPhone 3G, iTouch (x4), iPad 32GB, iPod (1st gen), iPod Shuffle (RED)
orangestudio is offline   0
Old Sep 18, 2011, 03:02 PM   #17
Capt Crunch
macrumors 6502
 
Join Date: Aug 2001
Location: Cleveland, OH
Send a message via AIM to Capt Crunch
If you have a corrupted .rar file, you need the associated par files. Usually those are included in the download.

All you need to do is make sure the .rar and .par files are in the same directory. Get MacParDelux and open any of the .par files with it. It will automatically repair any corrupted .rars and also concatenate the .rar files as well.

No command line needed.
__________________
His: 13" MBA i5 | iPhone 5S
Hers: 13" MBA C2D | iPhone 4G
HTPC: Unibody MacMini | Drobo S (6TB) | Plex is the shizzle for rizzle
Capt Crunch is offline   0
Old Sep 18, 2011, 03:07 PM   #18
AdrianK
macrumors 68020
 
Join Date: Feb 2011
Quote:
Originally Posted by orangestudio View Post
I dropped the program file "UnRarX" into Terminal and it turns into unrarx.app and it says it's a directory, after 'Bash'. How can I work around that? Help!
Because unrarx.app is a folder, not a command line application.

Re-read the post, you need the command line version of the official RAR application.
__________________
Hack Pro Mini | Core i3 4130 | GTX 780 | 8GB 1333MHz | 840 EVO 120GB | OS X 10.9.1 / Windows 8 | White Bitfenix Prodigy
AdrianK is offline   0
Old Sep 18, 2011, 04:14 PM   #19
cjedj
macrumors newbie
 
Join Date: Nov 2009
Quote:
Originally Posted by Capt Crunch View Post
If you have a corrupted .rar file, you need the associated par files. Usually those are included in the download.

All you need to do is make sure the .rar and .par files are in the same directory. Get MacParDelux and open any of the .par files with it. It will automatically repair any corrupted .rars and also concatenate the .rar files as well.

No command line needed.
Nine times out of ten, yes. The tenth time, you need to go the command line way explained above.
cjedj is offline   0
Old Oct 31, 2011, 09:09 AM   #20
Lyubomir1001
macrumors member
 
Join Date: Aug 2010
I did the "r" command but when I got to repairing, it said data recovery not found. Here is the problem:


Lyubomir-Gizdarskis-iMac:~ lyubomir9$ /Users/lyubomir9/Desktop/rar r /Users/lyubomir9/Desktop/untitled\ folder\ 3/untitled\ folder\ 4/codbo4861.dmg.part1.rar Users/VeselinGizdarski/Desktop

RAR 4.10 beta 2 Copyright (c) 1993-2011 Alexander Roshal 20 Oct 2011
Shareware version Type RAR -? for help

Building fixed.codbo4861.dmg.part1.rar
Scanning...
Data recovery record not found
Reconstructing /Users/lyubomir9/Desktop/untitled folder 3/untitled folder 4/codbo4861.dmg.part1.rar
Building rebuilt.codbo4861.dmg.part1.rar
Found codbo4861.dmg
Done
Lyubomir-Gizdarskis-iMac:~ lyubomir9$ /Users/lyubomir9/Desktop/untitled\ folder/codbo4861.dmg


I didn't even get the file on my desktop.. All I had was ".rebuilt" added to the .rar file. What do I do?

it still says the file is corrupted
Lyubomir1001 is offline   0
Old Nov 24, 2011, 07:20 AM   #21
freedom178
macrumors newbie
 
Join Date: Sep 2011
repair tools

Because your zip file is more then 4GB, so before useing some zip recovery tools to repair it, you need to split it into some small parts, then use zip repair tools to repair it.
You can visit: http://www.datanumen.com/azr/faq.htm#splitzip
to know how to repair split zip file.

Julie
freedom178 is offline   0
Old Dec 8, 2011, 04:44 PM   #22
briankeith513
macrumors 6502
 
Join Date: Feb 2011
Location: Atlanta, GA
Quote:
Originally Posted by Lyubomir1001 View Post
I did the "r" command but when I got to repairing, it said data recovery not found. Here is the problem:


Lyubomir-Gizdarskis-iMac:~ lyubomir9$ /Users/lyubomir9/Desktop/rar r /Users/lyubomir9/Desktop/untitled\ folder\ 3/untitled\ folder\ 4/codbo4861.dmg.part1.rar Users/VeselinGizdarski/Desktop

RAR 4.10 beta 2 Copyright (c) 1993-2011 Alexander Roshal 20 Oct 2011
Shareware version Type RAR -? for help

Building fixed.codbo4861.dmg.part1.rar
Scanning...
Data recovery record not found
Reconstructing /Users/lyubomir9/Desktop/untitled folder 3/untitled folder 4/codbo4861.dmg.part1.rar
Building rebuilt.codbo4861.dmg.part1.rar
Found codbo4861.dmg
Done
Lyubomir-Gizdarskis-iMac:~ lyubomir9$ /Users/lyubomir9/Desktop/untitled\ folder/codbo4861.dmg


I didn't even get the file on my desktop.. All I had was ".rebuilt" added to the .rar file. What do I do?

it still says the file is corrupted
I have this exact same issue, and it looks exactly like it is in this post. My file is only like 60mb.
__________________
-I am not Neo, But I am still the One.
http://i44.tinypic.com/v6roqw.gif
briankeith513 is offline   0
Old Jan 7, 2012, 05:58 AM   #23
minnie2011
macrumors newbie
 
Join Date: Aug 2011
Location: United States
Free torrent has this kind of problem but if you buy then its ok. I was facing this kind of problem with download PT Software.
minnie2011 is offline   0
Old Jan 14, 2012, 08:17 AM   #24
boycom
macrumors newbie
 
Join Date: Jan 2012
Almost there, just can't locate file

Hey guys, I did what woofbow said, and it came up as 100% fixed, but the only problem is i can't see the file where i've told it to save it

what's more interesting is that even when i try to do it again and save it in a different place, it keeps asking me 'do you want to overwrite the existing file with this name' meaning that even if i've changed the location, it must still be saving in the same place (don't know where that is)

I've tried using spotlight to locate it and nothing's come up
tried restarting computer, still nothing
I even tried showing the hidden files, and still nothing

It's so close, yet annoyingly won't show
Can anyone help please?


Thanks a million!

Noah
boycom is offline   0
Old Jan 14, 2012, 08:32 AM   #25
boycom
macrumors newbie
 
Join Date: Jan 2012
empty trash

Hey guys,

For reasons I don't quite understand, emptying the trash seems to solve this
The file is now extracting, and all who have contributed to this thread are gods in my eyes!

Thank you very much

Noah
boycom is offline   0

Closed Thread
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
MacBook Air damaged during Apple Repair SSD-GUY MacBook Air 8 Mar 21, 2014 07:45 AM
Water damaged MBP repair cost bgarland MacBook Pro 10 Mar 5, 2013 02:32 AM
Damaged back, repair possible? Blackberryroid iPod touch 6 Dec 20, 2012 06:13 PM
Opening an RAR file! Timshan0876 OS X 4 Jul 5, 2012 09:59 AM
how to unlock password protected RAR file? animatedude Mac Applications and Mac App Store 6 Jun 12, 2012 10:39 AM

Forum Jump

All times are GMT -5. The time now is 05:38 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC