Skip to content

Instantly share code, notes, and snippets.

@Zeryther
Created September 5, 2022 20:17
Show Gist options
  • Save Zeryther/f7c465e26ff38ba56ad61c3f58ab0cd6 to your computer and use it in GitHub Desktop.
Save Zeryther/f7c465e26ff38ba56ad61c3f58ab0cd6 to your computer and use it in GitHub Desktop.
Convert all MP4 files to MKV files
for i in **/*.mp4; do
ffmpeg -i "$i" -vcodec copy -acodec copy "${i%.*}.mkv"
rm "$i"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment