How to repair a damaged RAR file...

Discussion in 'Mac Apps and Mac App Store' started by eriX, May 22, 2007.

Thread Status:
Not open for further replies.
  1. eriX macrumors member

    May 11, 2007
    Hi guys!

    I´ve download a torrent file of 6.5 Gb :eek: 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? :confused:
  2. Sherman Homan macrumors 6502

    Oct 27, 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!
  3. quigleybc macrumors 68030


    Jun 17, 2005
    Beautiful Vancouver British Columbia, Canada
    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
  4. brkirch macrumors regular

    Oct 18, 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 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.
  5. eriX thread starter macrumors member

    May 11, 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.
  6. steelfist macrumors 6502a

    Aug 10, 2005
    download the file again to another location, and if possible, have the program recheck the download.
  7. woofbow macrumors newbie

    Sep 16, 2010
    Repairing a Corrupt (CRC error) RAR archive on OS X

    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!
  8. gskiser macrumors member

    Jun 23, 2003
    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.
  9. woofbow macrumors newbie

    Sep 16, 2010
    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!
  10. gskiser macrumors member

    Jun 23, 2003
    Thank you!!!

    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!!!
  11. chrono1081 macrumors 604


    Jan 26, 2008
    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.
  12. woofbow macrumors newbie

    Sep 16, 2010
    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.

  13. DaTr0ll macrumors newbie

    Dec 7, 2010
    Problem with fix


    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? :eek:
  14. cjedj macrumors newbie

    Nov 2, 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!
  15. orangestudio macrumors newbie

    Jul 15, 2010
    Terminal not working...

    I dropped the program file "UnRarX" into Terminal and it turns into and it says it's a directory, after 'Bash'. How can I work around that? Help!
  16. Capt Crunch macrumors 6502

    Aug 26, 2001
    Washington, D.C.
    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.
  17. AdrianK macrumors 68020

    Feb 19, 2011
    Because is a folder, not a command line application.

    Re-read the post, you need the command line version of the official RAR application.
  18. cjedj macrumors newbie

    Nov 2, 2009
    Nine times out of ten, yes. The tenth time, you need to go the command line way explained above.
  19. Lyubomir1001 macrumors member

    Aug 19, 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
    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
    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
  20. freedom178 macrumors newbie

    Sep 24, 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:
    to know how to repair split zip file.

  21. briankeith513 macrumors 6502a


    Feb 6, 2011
    Atlanta, GA
    I have this exact same issue, and it looks exactly like it is in this post. My file is only like 60mb.
  22. minnie2011 macrumors newbie

    Aug 14, 2011
    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.
  23. boycom macrumors newbie

    Jan 14, 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!

  24. boycom macrumors newbie

    Jan 14, 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

Thread Status:
Not open for further replies.

Share This Page