Last active 1 month ago

swee revised this gist 1 month ago. Go to revision

1 file changed, 1 insertion, 1 deletion

e.sh

@@ -1,5 +1,5 @@
1 1 #!/bin/bash
2 2 for f in *.m4a; do
3 3 base="$(basename "$f" .m4a)"
4 - ffmpeg -i $f -b:a 32k $base.mp3
4 + ffmpeg -i $f -b:a 32k ${base}.mp3
5 5 done

swee revised this gist 1 month ago. Go to revision

1 file changed, 1 insertion, 1 deletion

e.sh

@@ -1,5 +1,5 @@
1 1 #!/bin/bash
2 2 for f in *.m4a; do
3 3 base="$(basename "$f" .m4a)"
4 - ffmpeg -i $f $base.mp3
4 + ffmpeg -i $f -b:a 32k $base.mp3
5 5 done

swee revised this gist 1 month ago. Go to revision

1 file changed, 5 insertions

e.sh(file created)

@@ -0,0 +1,5 @@
1 + #!/bin/bash
2 + for f in *.m4a; do
3 + base="$(basename "$f" .m4a)"
4 + ffmpeg -i $f $base.mp3
5 + done
Newer Older