Mass Convert All M4a To MP3 Music Script For Linux

Go down

Mass Convert All M4a To MP3 Music Script For Linux Empty Mass Convert All M4a To MP3 Music Script For Linux

Post by jamied_uk on 15th December 2017, 16:37

Code:


Code:
#!/bin/bash
#
# ./convert_all.sh
#
myvar=$1
for f in *.m4a; do ffmpeg -i "$f" -acodec libmp3lame -ab 256k "${f%.m4a}.mp3"; done
#
#


Code:
sudo chmod +x *.sh

Make sure all files are in same folder then remove all m4a files after.
jamied_uk
jamied_uk
Admin

Posts : 2471
Join date : 2010-05-09
Age : 36
Location : UK

http://address-shortner.co.uk

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum