Code tagged with mp3

Check for broken MP3 albums, the simple way.

Posted by Chad Humphries over 2 years ago
#!/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
Language Shell/Scripting / Tagged with mp3, bash