Skip to content

Instantly share code, notes, and snippets.

@mrpollo
Created January 5, 2012 21:16
Show Gist options
  • Select an option

  • Save mrpollo/1567341 to your computer and use it in GitHub Desktop.

Select an option

Save mrpollo/1567341 to your computer and use it in GitHub Desktop.
just a tiny script/utility to convert all the flac files in a folder to Apple Lossless codec 'alac'
#!/bin/bash
for f in *.flac; do ffmpeg -i "$f" -acodec alac "${f%.flac}.m4a"; done
#!/bin/bash
for f in *.wav; do ffmpeg -i "$f" "${f%.wav}.mp3"; done
@qo

qo commented Sep 28, 2023

Copy link
Copy Markdown

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment