aboutsummaryrefslogtreecommitdiffstats
path: root/audio/wma2mp3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/wma2mp3.sh')
-rwxr-xr-xaudio/wma2mp3.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/audio/wma2mp3.sh b/audio/wma2mp3.sh
deleted file mode 100755
index db51e56..0000000
--- a/audio/wma2mp3.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-# convert *.wma to *.mp3
-
-current_directory=$( pwd )
-
-#remove spaces
-for i in *.wma; do mv "$i" `echo $i | tr ' ' '_'`; done
-
-#remove uppercase
-for i in *.[Ww][Mm][Aa]; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done
-
-#Rip with Mplayer / encode with LAME
-for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm
- -waveheader $i && lame -m s audiodump.wav -o $i; done
-
-#convert file names
-for i in *.wma; do mv "$i" "`basename "$i" .wma`.mp3"; done
-
-rm audiodump.wav
-