I need to create a script that copy's a file that has the date in its filename, ex. ML-20011207.dat.
The file is located in the filestructure as follows:
/test/example/12 where 12 is the month.(there are 12 maps, one for each month.)
The file should be copied to /test/ididit/07 where 07 is the date of the day.(1-31 exists)
Then should it be renamed to ml1207.dat.
Can anyone help me?
Mind regard// Micke
The file is located in the filestructure as follows:
/test/example/12 where 12 is the month.(there are 12 maps, one for each month.)
The file should be copied to /test/ididit/07 where 07 is the date of the day.(1-31 exists)
Then should it be renamed to ml1207.dat.
Can anyone help me?
Mind regard// Micke