2014-04-17, 19:11
(2014-04-17, 18:12)doublea Wrote:(2014-04-17, 06:54)touser Wrote:(2014-04-17, 06:29)denmalley Wrote: I am very into this idea and downloaded mkvtoolnix to give it a whirl but I'm kind of lost. Is there a guide you can point me to? The program suggests a few guis to try but they both seem geared toward using an mkv file as input.
I don't know what platform you are on, but assuming it is linux or os x I just ran this as a quick test as i'm in a similar situation to you and it seems to work just fine:
Code:find /media/raid/testconvert/ -name "*.avi" | while read i; do mkvmerge -o "${i%avi}mkv" "${i}"; done
Replace "/media/raid/testconvert/" with the path to your Movies. That command will find all .avi files and convert them to .mkv
Nice script! For those that want to keep their original timestamps, you can run this after you do the conversion. It will copy the original date over from the avi file:
Code:find /media/raid/testconvert/ -name "*.avi" | while read i; do touch -d `stat -c %y "${i}" |cut -d ' ' -f1` "${i%avi}mkv" ; done
Is a windows equivalent script possible?