#!/bin/bash

INFILENAME=$(basename $1)
INFILELEN=${#INFILENAME}
INFILEDIR=$(dirname $1)



 for infile in $INFILEDIR/*; do
	 OFILENAME=$(basename $infile)
	 OFILENAME=${OFILENAME:0:INFILELEN}
	 echo "ffconv" $infile $2$OFILENAME.$3
 done
