Convert flac files to mp3 1. Splitting single file.flac to a flac file per song $ # Format for output file names can be specified with the -t $ # option (%p for performer, %a for album, %t for title, and $ # %n for track number) $ shnsplit -f file.cue -o flac -t "%n - %t" file.flac 2. flac to mp3 $ for f in *.flac; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame \ -b:a 320k -map_metadata 0 -id3v2_version 3 "${f%.flac}.mp3"; done 2. Tags from cue $ cuetag file.cue *.mp3