Created
October 2, 2024 21:25
-
-
Save ZacharyThompson/d6aeb5f2a74be7d6401abaf6ab188e20 to your computer and use it in GitHub Desktop.
Convert flac to alac (for apple music upload)
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/sh | |
mkdir -p "./output" | |
for x in *.flac | |
do | |
ffmpeg -i "$x" -c:v copy -c:a alac "./output/$(basename -- "$x" .flac).m4a" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment