#!/bin/sh QA4_DIR=tbd if [ "${1}X" = "X" ]; then echo "Usage: '${0} '" exit 1 else QA4_DIR=${1} fi if [ -d ${QA4_DIR} ]; then for f in INSTRUM ORCH RECORDS CHAMBER SONG OPREC OPERA; do cp ${QA4_DIR}/${f}.ASC \ ./`python -c 'import sys; sys.stdout.write(sys.argv[1].lower())' ${f}.asc` done else echo "'${QA4_DIR}' must be a directory containing QA4 .ASC files." fi