Skip to content

Instantly share code, notes, and snippets.

@rkumar
Created January 26, 2013 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rkumar/4640692 to your computer and use it in GitHub Desktop.
Save rkumar/4640692 to your computer and use it in GitHub Desktop.
convert FLAC files to m4a so you can play in itunes
#!/usr/bin/env zsh
for file ( *.flac ) {
print $file
newf=${file/flac/m4a}
ffmpeg -i $file $newf
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment