diff options
author | Aaron LI <aly@aaronly.me> | 2017-11-03 18:31:03 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-11-03 18:31:03 +0800 |
commit | bc87a53a283d7dec8c52cccf4689fb2d9765a277 (patch) | |
tree | 8a859562087f2999f901cce4eced0827c4a2b944 /cli/m4a2mp3.sh | |
parent | b50463d171ade46f549c5331e8ad317b410ac0f2 (diff) | |
download | atoolbox-bc87a53a283d7dec8c52cccf4689fb2d9765a277.tar.bz2 |
Move several scripts from unix/ to cli/
Diffstat (limited to 'cli/m4a2mp3.sh')
-rwxr-xr-x | cli/m4a2mp3.sh | 8 |
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 + |