fixed : repair corrupt RAR-files on your Mac

Question :

I have some RAR-archive-files on my Mac that I would like to decompress/unarchive. I have tried several unarchiver-applications, but they all end up telling me that the RAR-file is corrupted.

Is there any way to fix this ?

 

Answer :

RAR (which stands for Roshal ARchive) is a very popular file-compression that is developed and maintained by the Roshal brothers Eugene & Alexander. Their RAR & unRAR utility is called WinRAR (for Windows) or simply RAR (for all other platforms including MacOSX).

One interesting thing about WinRAR/RAR is that it is also capable of repairing corrupted RAR-archive-files. Slight down-side is that the utility doesn’t have a graphic interface (GUI) like most MacOSX-apps… it is a ‘command line only’ tool…

To repair damaged RAR-archive-files on MacOSX, do this :

– download WinRAR/RAR for MacOSX from the Roshal brothers’ website :

http://www.win-rar.com/fileadmin/winrar-versions/rarosx-4.2.0.tar.gz

NOTE : if you want to be sure you get the latest version of RAR for MacOSX, go to the website to find it :

http://www.win-rar.com/download.html

– After downloading, open the Terminal app that is in the Utilities folder inside your Applications folder and drop the “rar” program file from the “rarosx” folder onto the terminal window.

– Then make sure there’s a space (by typing on the SPACE-bar of your keyboard)

– Then type “r” (without the quotes).

– Then make sure there’s another space (by typing on the SPACE-bar of your keyboard again).

– 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 (typ the SPACE-bar)

– and type “Users/yourname/Desktop” or wherever you want the fixed file to be delivered.

(if you want to deliver to a specific destination folder, 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 the repairing the file will start. (this might take a couple of minutes, depending on the size of the file)

– After that, double click the repaired RAR-archive-file to have it unRARed

…that should do the trick!

NOTE : the file will have the prefix “rebuilt” 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.

Advertisements