Converting Flac to MP3 from command line

quickly converted some files by creating this alias.

alias flacmp3='find -name "*.flac" -exec ffmpeg -i {} -acodec libmp3lame -ab 128k {}.mp3 \;'

cd to the folder that has the flac, use that alias

then to remove the old..

find . -type f -not -name "*.mp3" -exec rm -f {} \;

This entry was posted in Tech. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *