I have the following files in the dir /home/krishna/datatemp
abc.xml
cde.xml
asfd.txt
asdf_20120101-1.xml
asdf_20120101-2.xml
asdf_20120101-3.xml
asdf_20120101-4.xml
Now I need to move the files having the pattern asdf_20120101-*.xml to the dir /home/krishna/dataout with the extn as follows.
asdf_20120101-1.mcc
asdf_20120101-2.mcc
asdf_20120101-3.mcc
asdf_20120101-4.mcc
I may have any number of files matching the pattern asdf_20120101-*.xml. All the files needs to be moved to the path /home/krishna/dataout
can anyone help me out?
Thanks in advance.
Krishnakanth Manivannan