scripts/m4a2wav
2019-08-08 17:38:23 +02:00

23 lines
243 B
Bash
Executable file

#!/bin/sh
usage() {
cat <<EOF
m4a2wav
Usage:
m4a2wav
Converts all m4a files in the current directory to
wav format. Requires ffmpeg.
EOF
}
case "$@" in
--help)
usage
exit 1
;;
*)
fd -e m4a -x ffmpeg -i '{}' '{.}'.wav
;;
esac