for f in *.xml ; do
  if grep 'manual.xml' $f ; then
    cat $f | sed s/manual\.xml/manual_it.xml/ > foo && mv foo $f
  fi
done
