Skip to content

Instantly share code, notes, and snippets.

@superrnovae
Last active July 22, 2021 20:55
Show Gist options
  • Save superrnovae/ee4d1af894ef58506ad18852d7b8c872 to your computer and use it in GitHub Desktop.
Save superrnovae/ee4d1af894ef58506ad18852d7b8c872 to your computer and use it in GitHub Desktop.
[Powershell] Convert FLAC to ALAC using ffmpeg while preserving metadata and tags
Get-ChildItem -Path . -filter *.flac | ForEach-Object -Process {[System.IO.Path]::GetFileNameWithoutExtension($_)} | ForEach-Object -Process {ffmpeg -i "$($_).flac" -acodec alac -vn "$($_).m4a"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment