Created
February 10, 2022 05:40
-
-
Save EHG613/7009b2f76e3f8dcf383f6cc84a88692a to your computer and use it in GitHub Desktop.
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
find . -iname '*.flac' -exec bash -c 'D=$(dirname "{}"); B=$(basename "{}"); T="mp3/$D"; mkdir -p "$T"; ffmpeg -i "{}" -ab 192k -map_metadata 0 -id3v2_version 3 -acodec libmp3lame "$T/${B%.*}.mp3"' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment