Skip to content

Instantly share code, notes, and snippets.

@jgaydos
Created February 14, 2019 01:10
Show Gist options
  • Save jgaydos/67c18e0d907e784ab0f54e7f6e5ffa2f to your computer and use it in GitHub Desktop.
Save jgaydos/67c18e0d907e784ab0f54e7f6e5ffa2f to your computer and use it in GitHub Desktop.
FFmpeg: Convert files matchting pattern
#!/bin/bash
for i in *.mkv; do ffmpeg -i "$i" "${i%.*}.mp4"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment