Skip to content

Instantly share code, notes, and snippets.

@TheEpicFace007
Last active April 1, 2021 20:58
Show Gist options
  • Select an option

  • Save TheEpicFace007/efda63efaddcdd21231433106ae1140d to your computer and use it in GitHub Desktop.

Select an option

Save TheEpicFace007/efda63efaddcdd21231433106ae1140d to your computer and use it in GitHub Desktop.
convert all flac in directory to a mp3 with ffmpeg
mkdir output
foreach ($file in ls) {
$fixedName = (".\output\" + $file.Name.Replace($file.Extension, "") + ".mp3")
ffmpeg -i "$file" $fixedName
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment