Skip to content

Commit

Permalink
Add mp32ogg
Browse files Browse the repository at this point in the history
  • Loading branch information
batterseapower committed May 30, 2009
1 parent 83c8103 commit 62ed113
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions mp32ogg
@@ -0,0 +1,14 @@
#!/bin/bash
#

if [ -z "$1" ]; then
echo "Usage: `basename $0` FILES"
exit 1
fi

until [ -z "$1" ]; do
echo $1
mpg321 -q $1 -w /tmp/$!.wav && oggenc -Q /tmp/$!.wav -o `basename $1 .mp3`.ogg
rm /tmp/$!.wav
shift
done

0 comments on commit 62ed113

Please sign in to comment.