More improvements to m4a2wav

This commit is contained in:
joachimschmidt557 2019-08-08 17:38:23 +02:00
parent 96c2b17276
commit 493d4b785c

12
m4a2wav
View file

@ -1,7 +1,7 @@
#!/bin/sh
usage() {
echo <<EOF
cat <<EOF
m4a2wav
Usage:
@ -12,4 +12,12 @@ wav format. Requires ffmpeg.
EOF
}
fd -e m4a -x ffmpeg -i {} {.}.wav
case "$@" in
--help)
usage
exit 1
;;
*)
fd -e m4a -x ffmpeg -i '{}' '{.}'.wav
;;
esac