for file in *o.html.html ;do mv $file `basename $file .html.html`.doc.html;done