Created
March 30, 2020 19:56
-
-
Save jayhill90/17a9343bfb5e3f725a67fcae3681eece to your computer and use it in GitHub Desktop.
Convert a folder of flac files to 320kbps mp3
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/sh | |
find . -name "*.flac" -exec ffmpeg -i {} -c:a libmp3lame -b:a 320k -map_metadata 0 -id3v2_version 3 {}.mp3 \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This leaves the filenames as file.flac.mp3.
Run this one liner to fix that.