rt3x.de NoPaste

Convert FLAC to Apple Losless

This is a nopaste service, powered by Flying Paste.

Author: Malte Bublitz
Language/File type: Bash script

Description

Convert all FLAC files in the current directory to Apple Lossless (ALAC)

Code

1
2
3
4
5
6
7
8
for flac in *.flac
do
	ffmpeg \
		-i ${flac} \
		-c:a alac \
		${flac%.*}.m4a
	rm ${flac}
done