Home > Uncategorized > Mass par2 repair amazingly simple.

Mass par2 repair amazingly simple.

January 25th, 2006 Leave a comment Go to comments

$ echo *.par2

or to get one filename per line :

$ for i in *.par2; do echo $i; done

So to mass-repair everything in a directory simply type :

$ for i in *.par2; do par2repair $i; done

EDIT : only works if the extension in “vol**+**.PAR2″ is capitalized :-(

Categories: Uncategorized Tags:
  1. Anonymous
    May 5th, 2007 at 03:10 | #1

    I found your info useful and get around the case sensitivity like this.

    for i in *.[pP][aA][rR]2; do par2 r $i; done

    Hope it helps someone else!

  2. zobi
    July 15th, 2007 at 15:53 | #2

    thanks for your comment!

  3. zobi
    July 15th, 2007 at 16:31 | #3

    I’ve updated the FAQ with your comment.

  4. Stefan
    June 9th, 2009 at 22:48 | #4

    check out this (complex) shellscript to automate the task:

    http://sourceforge.net/projects/altbinrepair/

  1. No trackbacks yet.