#!/usr/local/bin/bash
#
# Report on broken SFV content.
# $NINJA: mp3_check.sh,v 1.0 2007/11/11 15:09:05 johann Exp $
#
# Requires CFV.
#
for file in `find -s $(pwd) -name \*.sfv`; do
cd `dirname $file`
cfv -sq
if [ $? != 0 ]; then
echo "$(pwd): Corrupt"
fi
done