diff --git a/fix_unknown_album_and_artist_flac_file.sh b/fix_unknown_album_and_artist_flac_file.sh index fdd5bca..f2af6ff 100755 --- a/fix_unknown_album_and_artist_flac_file.sh +++ b/fix_unknown_album_and_artist_flac_file.sh @@ -27,11 +27,11 @@ then else if [ "$1" = "-l" ] then - echo "Looping through $3" + echo "Looping through $2" while read flacfile; do echo "Processing line $flacfile" fix_flac_file "$flacfile" - done < "$3" + done < "$2" exit 0; else echo "moving to $2"