![]() It is highly likely you can use RAR command line tools to repair the corrupt RAR files you discover. Something like: cd /User/YourUsername/path/to/extraction-directory Remember you can create the extraction folder in Finder and then drag that folder into Terminal after you’ve typed the first part of the command ( and followed it with a trailing space). You’ll need to replace the path with the correct one for your situation. The first line in the following example does exactly that. NOTE: You will need to first change the current directory to the one you want to extract the RAR archive into. Just use the same command but replace the t with an x. Of course you can also use this command line tool to perform the extraction. ![]() This way if your batch of RAR files won’t extract, you only have to re-download the files that are damaged and not the whole lot. ![]() UnRAR will go through the whole batch of files, including their contents of the RAR files, and test them for corruption. The next files in a batch typically have the extension. If you have a batch of split RAR files, enter the path to the first one in the batch. In Terminal.app type the following command: unrar t /path/to/files/archivename.rar But dragging and dropping works very nicely. This gives you a new Finder command called “Copy Path”. The other option is if you have TotalFinder installed. You can either type these paths in by hand or do this: Just locate the file in Finder, grab the file and drag it over to Terminal after you have typed in the command (along with one trailing space). TIP: The following commands require entering file paths into Terminal. Here’s how to do it: Step 1įirst off, follow the instructions on my earlier post for how to install the UnRAR command line tool into Mac OS X. RAR files have an inbuilt CRC record, to the UnRAR tool will test the CRC against the file. Unlike most of the GUI unarchiver tools I have tested on Mac, the command line tool gives a full report of each RAR part and whether it is corrupt or not. The easiest way I have found for testing RAR archive files in Mac OS X (whether testing a single or files split batches of rar parts) is to use the command line UnRAR tool.
0 Comments
Leave a Reply. |