Hi
In /home/dat I have a few hundred files with a .dat extension.
I would like to copy these to /home/xml but rename them with a .xml file extension.
I've managed to get these into a file and sed them to change the file extension, but cannot get the contents of the file into the target directory.
Any help please? A solution using ksh would be preferable to me.
In /home/dat I have a few hundred files with a .dat extension.
I would like to copy these to /home/xml but rename them with a .xml file extension.
I've managed to get these into a file and sed them to change the file extension, but cannot get the contents of the file into the target directory.
Any help please? A solution using ksh would be preferable to me.