@echo off
for /r %%x in ("*.aif") do flac -8 -j 4 --delete-input-file -V -f --keep-foreign-metadata-if-present "%%x"
for /r %%x in ("*.aiff") do flac -8 -j 4 --delete-input-file -V -f --keep-foreign-metadata-if-present "%%x"
for /r %%x in ("*.wav") do flac -8 -j 4 --delete-input-file -V -f --keep-foreign-metadata-if-present "%%x"