From 472ecbdc54b1adbcf0a1dd5ecb6a33b8f31e8de0 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Sun, 28 Sep 2014 14:12:13 +0200 Subject: [PATCH] Rename flac_to_mp3.sh to flac_to_mp3 Correct arguments for the avconv command. --- flac_to_mp3.sh => flac_to_mp3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename flac_to_mp3.sh => flac_to_mp3 (92%) diff --git a/flac_to_mp3.sh b/flac_to_mp3 similarity index 92% rename from flac_to_mp3.sh rename to flac_to_mp3 index c3cd217..751ffc9 100755 --- a/flac_to_mp3.sh +++ b/flac_to_mp3 @@ -21,7 +21,7 @@ if [ -d ${ALBUM_NAME} ]; then 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}" + avconv -v "${LOG_LEVEL}" -i "${FILE}" -b "${BITRATE}" "${NEW_ALBUM_NAME}/${FILE%${OLD_FORMAT}}${NEW_FORMAT}" done popd