for N in *.xml; do mv $N ${N/%xml/txt} done