sj: Add -W/--wait option
[sunny256-utils.git] / towav
blobcdaeb19f6190bbe095025708867b459362ae0b95
1 #!/usr/bin/env bash
3 #=======================================================================
4 # towav
5 # File ID: 9b6c4410-82be-11e3-921e-001f3b596ec9
6 # Convert some kind of media file (film or sound) to .wav
7 # License: GNU General Public License version 2 or later.
8 #=======================================================================
10 for f in "$@"; do
11 echo "==== $f"
12 mplayer -novideo -ao "pcm:file=tw-$f.wav" "$f"
13 done