find . -name '*.flac' -print0 | xargs -0 -I FILE sh -c 'ffmpeg -i "$1" -c:a libmp3lame -q:a 0 "${1%.flac}.mp3" ' -- FILE
find . -name '*.flac' -print0 | xargs -0 -I FILE sh -c 'ffmpeg -i "$1" -c:a libfdk_aac -b:a 320k "${1%.flac}.m4a" ' -- FILE
shnsplit -f file.cue -t '%n - %t' -o flac file.flac
- fedora
sudo dnf install cuetools shntool
- debian
sudo apt install cuetools shntool
- macos (homebrew)
brew install cuetools shntool