Skip to content

Instantly share code, notes, and snippets.

@leepro
Created February 1, 2015 06:18
Show Gist options
  • Select an option

  • Save leepro/835fb97e3ad36a6872c1 to your computer and use it in GitHub Desktop.

Select an option

Save leepro/835fb97e3ad36a6872c1 to your computer and use it in GitHub Desktop.
#!/bin/bash
SAVEIF=$IFS
IFS=$(echo -en "\n\b")
for file in $(ls *aiff)
do
name=${file%%.aiff}
/Applications/ffmpegX.app/Contents/Resources/ffmpeg -i $file $name.mp4
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment