Created
March 9, 2016 05:05
-
-
Save sagax/5510073ba0ce69ccb44f to your computer and use it in GitHub Desktop.
converting some file to mp3 in loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in * | |
do | |
number=$(echo "$i" | awk '{print $4}' | awk -F- '{print $1}') | |
name="some_" | |
ffmpeg -y -i "$i" -ab 320K -ar 44100 -ac 2 -acodec mp3 $name_$number.mp3 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment