23 lines
243 B
Bash
Executable file
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
|