Created
September 25, 2019 09:11
-
-
Save dark-vex/7c9a698c416d192b50860570c9f1df0e to your computer and use it in GitHub Desktop.
Simple script for convert flac files to mp3 320k
This file contains hidden or 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 | |
| find -type f -name "*.flac" -print0 | while read -d $'\0' a; do | |
| < /dev/null ffmpeg -i "$a" -ab 320k -map_metadata 0 -id3v2_version 3 "${a[@]/%flac/mp3}" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment