||03-12-2008 05:17 AM
need shell-script help (very simple)
I need to convert a couple of files in a folder from ogg video to dv, but I need it to keep the name, so they stay in the same numerical order, and just add an extention.
So this is the script that I use for a single file:
ffmpeg -i input.ogg -target ntsc-dv output.dv
So I have input00.ogg, input01.ogg, input02.ogg,... and so on, and I need them to be named input00.ogg.dv, input01.ogg.dv, input02.ogg.dv,... after the conversion.
I know this is ridiculously simple, but I just can't get it right... I tried to do it with find... -exec, but I just can't get behind it.