-
-
Save andre3k1/2190daabceff65e9e3fb to your computer and use it in GitHub Desktop.
Convert lossless FLAC audio files to lossy 320kbps MP3 files, preserving ID3 meta tag info.
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 | |
# You need ffmpeg and lame utils, which you can install with homebrew: $ brew install ffmpeg lame | |
# Tip – Try adding this one liner to your bash profile as an alias. | |
find . -name "*.flac" -exec ffmpeg -i {} -acodec libmp3lame -ab 320k {}.mp3 \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment