1. 安装最新版的ffmpeg
2. 安装cywin环境
3. 设置path到ffmpeg
export PATH=$PATH:"PATH/TO/FFMPEG/BIN"
4.到ape所在的目录,执行以下命令文章来源:https://uudwc.com/A/y5P1P
find . -iname "*.ape" | while read line; do fb=${line::-4}; fn="$fb.flac";echo ffmpeg -y -i "$line" -c:a flac "$fn"; ffmpeg -y -i "$line" -c:a flac "$fn"; done
文章来源地址https://uudwc.com/A/y5P1P