Testing many RAR files....

Discussion in 'Mac Basics and Help' started by Squantooooooe, Jun 6, 2017.

  1. Squantooooooe macrumors newbie

    Jun 6, 2017
    hello guys new poster here.

    I had a HD crash of an external drive. I managed to recover alsmot everything with Stellar Phoenix. Great program.

    However some rar files I tried to open were corrupt. I have thousands of rar and zip files.
    I want to test them all. So the command line options in terminal is certainly out of the question. I used to be a windows user and Winrar did a fantastic job of this with a clean GUI. Is there a way to do this in Mac? Or do I boot into Windows and do it using winrar? I'd rather not and use Mac apps.
    Thanks for your help!!!!
  2. kschendel macrumors 6502a

    Dec 9, 2014
    Certainly you can do it in the terminal. I don't know what you would use for rar files, but for zips, it would be something along the lines of:

    find . -name '*.zip' -print | xargs unzip -t

    for checking everything in the home directory. Make it "find /" instead of "find ." to check everything, although you'll likely get a bunch of permission denied messages as you traverse system directories. You'd use something similar for rar files, although I don't know what command line app handles them.

Share This Page