Skip to content

Instantly share code, notes, and snippets.

@prafullakumar
Created May 25, 2020 15:05
Show Gist options
  • Save prafullakumar/9cb207a8c530b31a698ff9d365b24ed9 to your computer and use it in GitHub Desktop.
Save prafullakumar/9cb207a8c530b31a698ff9d365b24ed9 to your computer and use it in GitHub Desktop.
for i in *.avi;
do name=`echo "$i" | cut -d'.' -f1`
echo "$name"
ffmpeg -i "$i" "${name}.mov"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment