Created
August 4, 2017 09:07
-
-
Save dajare/97ad733d8034b3ff3b78897fa53f215f to your computer and use it in GitHub Desktop.
Bash script to convert directory of FLAC files to MP3 (set codec detail -- current 128)
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
#!/bin/bash | |
for i in *.flac ; do | |
ffmpeg -i "$i" -ab 128k -map_metadata 0 -id3v2_version 3 $(basename "${i/.flac}").mp3 | |
sleep 60 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
References: SO, and U&L