convert.sh 205 B

12345678
  1. #!/bin/bash
  2. input_file="$1.m4a"
  3. output_file="$2/$1.mp3"
  4. echo "Converting $input_file to $output_file"
  5. ffmpeg -y -i "${input_file}" -vn -ar 44100 -ac 2 -ab 192k -f mp3 "${output_file}"
  6. # rm ${input_file}