astrXbian/zen/tools/wav2mp3.sh

3 lines
119 B
Bash
Executable File

#!/bin/bash
find . -type f -name '*.wav' -exec bash -c 'ffmpeg -i "$0" -c:a libmp3lame -q:a 2 "${0/%wav/mp3}"' '{}' \;