Last active
March 23, 2017 09:02
-
-
Save greyltc/5de42812473fb3075ea887656e4bf4e0 to your computer and use it in GitHub Desktop.
convert all *.avi in a folder to to .mkv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# pacman -S mkvtoolnix-cli | |
for f in *.avi; do mkvmerge -o "${f/.avi/.mkv}" "${f}"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment