#!/bin/sh # recurcively create .par2's # 'find -type d -exec /home/ak/docs/scripts/par "{}" \;' cd "$*" && rm -f *.par2 && \ if [ -z "`echo $MASK`" ]; then MASK='.*\.*'; fi #find -type f -iregex .*\.[fmo][gklp][acgv1234+]*$ -maxdepth 1 if [ "`find -maxdepth 1 -type f`" ]; then par2 c -n1 -r1 -s55296 "`basename "\`pwd\`"`".par2 $MASK fi