for i in /.mp4; do mencoder "$i" -o "${i::22}.avi"; donefor i in /.mp4 do mencoder "$i" -o "${i::22}.avi" done