Skip to content

Instantly share code, notes, and snippets.

@tsleyson
Created January 2, 2019 05:11
Show Gist options
  • Save tsleyson/a474cbc188582c81a57a04a351c56111 to your computer and use it in GitHub Desktop.
Save tsleyson/a474cbc188582c81a57a04a351c56111 to your computer and use it in GitHub Desktop.
Command to convert all .webm files to mp4, skipping those with already exist as mp4
for f in *.webm; do
ffmpeg -n -i "${f}" "${f%.webm}.mp4"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment