aboutsummaryrefslogtreecommitdiffstats
path: root/cli/m4a2mp3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cli/m4a2mp3.sh')
-rwxr-xr-xcli/m4a2mp3.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/m4a2mp3.sh b/cli/m4a2mp3.sh
new file mode 100755
index 0000000..5d06cd9
--- /dev/null
+++ b/cli/m4a2mp3.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+bitrate=192
+
+for i in *.m4a; do
+ faad -o - "$i" | lame -h -b $bitrate - "${i%m4a}mp3"
+done
+