diff --git a/flac_to_mp3 b/flac_to_mp3 index 751ffc9..eeb6f87 100755 --- a/flac_to_mp3 +++ b/flac_to_mp3 @@ -18,7 +18,7 @@ if [ -d ${ALBUM_NAME} ]; then pushd "${ALBUM_NAME}" ## For all files with the old format in the album directory - for file in *.${OLD_FORMAT} + for FILE in *.${OLD_FORMAT} do # -v error: display only if error avconv -v "${LOG_LEVEL}" -i "${FILE}" -b "${BITRATE}" "${NEW_ALBUM_NAME}/${FILE%${OLD_FORMAT}}${NEW_FORMAT}"